Method | Description | |
---|---|---|
InstanceAwareApplication ( ) : System |
Initializes a new instance of the InstanceAwareApplication class.
|
|
InstanceAwareApplication ( ApplicationInstanceAwareness awareness ) : System |
Initializes a new instance of the InstanceAwareApplication class.
|
Method | Description | |
---|---|---|
OnExit ( System.Windows.ExitEventArgs e ) : void |
Raises the
|
|
OnStartup ( System.Windows.StartupEventArgs e ) : void |
Raises the
|
|
OnStartup ( System.Windows.StartupEventArgs e, bool isFirstInstance ) : void |
Raises the
|
|
OnStartupNextInstance ( |
Raises the
|
|
OnStartupSignaledToPriorApplicationFailed ( ) : void |
Called when the startup of the current application was unsuccessfully signaled to the prior application instance.
|
|
OnStartupSignaledToPriorApplicationSucceeded ( ) : void |
Called when the startup of the current application was successfully signaled to the prior application instance.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources
|
|
ExtractParameters ( ApplicationInstanceAwareness awareness, string &prefix, |
Extracts some parameters from the specified
|
|
GetApplicationId ( ) : string |
Gets the application unique identifier.
|
|
GetPipeUri ( string applicationPath ) : |
Gets the
|
|
IDisposable ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
IPriorApplicationInstance ( string args ) : void |
Signals the startup of the next application instance.
|
|
InitializeFirstInstance ( |
Initializes the first application instance.
|
|
InitializeInstance ( System.Windows.StartupEventArgs e ) : bool |
Initializes the application instance.
|
|
InitializeNextInstance ( |
Initializes the next application instance.
|
|
InitializeSynchronizationObjects ( string baseName, |
Initializes the synchronization objects needed to deal with multiple instances of the same application.
|
|
OnStartupNextApplicationInstance ( string args ) : void |
Called on next application instance startup.
|
|
TryDisposeSynchronizationObjects ( ) : void |
Tries the dispose synchronization objects (if needed).
|
public InstanceAwareApplication ( ApplicationInstanceAwareness awareness ) : System | ||
awareness | ApplicationInstanceAwareness | The instance awareness of the application. |
return | System |
protected OnExit ( System.Windows.ExitEventArgs e ) : void | ||
e | System.Windows.ExitEventArgs | An |
return | void |
protected final OnStartup ( System.Windows.StartupEventArgs e ) : void | ||
e | System.Windows.StartupEventArgs | A |
return | void |
protected OnStartup ( System.Windows.StartupEventArgs e, bool isFirstInstance ) : void | ||
e | System.Windows.StartupEventArgs | The |
isFirstInstance | bool | If set to |
return | void |
protected OnStartupNextInstance ( |
||
e | The |
|
return | void |
protected OnStartupSignaledToPriorApplicationFailed ( ) : void | ||
return | void |
protected OnStartupSignaledToPriorApplicationSucceeded ( ) : void | ||
return | void |