CommunicationObject.OnClosed Method ()

 

Invoked during the transition of a communication object into the closing state.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected virtual void OnClosed()

The Close method calls OnClosed if the communication object is initially in the Opened state.

The EndClose method calls OnClosed (and OnEndClose(IAsyncResult) if the communication object is not already in a Closed state.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: