OnClosing Method

CommunicationObject.OnClosing 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 OnClosing

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft