OnClosed Method

CommunicationObject.OnClosed Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
Protected Overridable Sub 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft