NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

AppDomain.AddOnStop

Subscribes to the "application domain stop" event. This event occurs after an application domain has been unloaded.

[Visual Basic]
Public Sub AddOnStop( _
   ByVal handler As EventHandler _
)
[C#]
public void AddOnStop(
   EventHandler handler
);
[C++]
public: void AddOnStop(
   EventHandler* handler
);
[JScript]
public function AddOnStop(
   handler : EventHandler
);

Parameters

handler
A delegate of type EventHandler to receive the event.

Remarks

This method will be removed in a future release. Use the "application domain unloaded" event instead of this event.

See Also

AppDomain Class | AppDomain Members | System Namespace