When implemented in a derived class, inserts processing on a communication object after it transitions to the closing state due to the invocation of a synchronous close operation.
protected abstract void OnClose(
- Type: System.TimeSpan
The Timespan that specifies how long the on close operation has to complete before timing out.
The Close method calls OnClose if the communication object is initially in the Opened state.
To insert processing after a communication object transitions to a closing state due to the invocation of an asynchronous BeginClose operation, use the OnBeginClose method.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Supported in: Windows Phone OS 7.0