메소드 | 설명 | |
---|---|---|
InstanceAwareApplication ( ) : System |
Initializes a new instance of the InstanceAwareApplication class.
|
|
InstanceAwareApplication ( ApplicationInstanceAwareness awareness ) : System |
Initializes a new instance of the InstanceAwareApplication class.
|
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 | System |
protected OnExit ( System.Windows.ExitEventArgs e ) : void | ||
e | System.Windows.ExitEventArgs | An |
리턴 | void |
protected final OnStartup ( System.Windows.StartupEventArgs e ) : void | ||
e | System.Windows.StartupEventArgs | A |
리턴 | void |
protected OnStartup ( System.Windows.StartupEventArgs e, bool isFirstInstance ) : void | ||
e | System.Windows.StartupEventArgs | The |
isFirstInstance | bool | If set to |
리턴 | void |
protected OnStartupNextInstance ( |
||
e | The |
|
리턴 | void |
protected OnStartupSignaledToPriorApplicationFailed ( ) : void | ||
리턴 | void |
protected OnStartupSignaledToPriorApplicationSucceeded ( ) : void | ||
리턴 | void |