UpdateContext Constructor |
Namespace: Kjs.AppLife.Update.Engine.CoreAssembly: Kjs.AppLife.Update.Engine.Core (in Kjs.AppLife.Update.Engine.Core.dll) Version: 1.0.0.12 (4.0.0.0)
Syntaxpublic UpdateContext(
UpdateState state,
IUpdateLog log,
string applicationDirectory,
string updatePackageDirectory,
WindowsIdentity targetApplicationIdentity,
IDictionary sharedProperties
)
Public Sub New (
state As UpdateState,
log As IUpdateLog,
applicationDirectory As String,
updatePackageDirectory As String,
targetApplicationIdentity As WindowsIdentity,
sharedProperties As IDictionary
)
public:
UpdateContext(
UpdateState state,
IUpdateLog^ log,
String^ applicationDirectory,
String^ updatePackageDirectory,
WindowsIdentity^ targetApplicationIdentity,
IDictionary^ sharedProperties
)
new :
state : UpdateState *
log : IUpdateLog *
applicationDirectory : string *
updatePackageDirectory : string *
targetApplicationIdentity : WindowsIdentity *
sharedProperties : IDictionary -> UpdateContext
Parameters
- state
- Type: Kjs.AppLife.Update.Engine.CoreUpdateState
The current state of the update in progress. - log
- Type: Kjs.AppLife.Update.Engine.CoreIUpdateLog
An IUpdateLog that can be used to log update activity. - applicationDirectory
- Type: SystemString
The directory where the application being updated resides. - updatePackageDirectory
- Type: SystemString
The directory where the update package being used to
update the target application resides. - targetApplicationIdentity
- Type: System.Security.PrincipalWindowsIdentity
A WindowsIdentity representing the user
who ran the application being updated. - sharedProperties
- Type: System.CollectionsIDictionary
An IDictionary containing properties that
can be shared between actions.
See Also