ClientBase<(Of <(TChannel>)>).ChannelBase<(Of <(T>)>).ICommunicationObject.Close Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Causes a communication object to transition from its current state into the closed state.
Namespace: System.ServiceModel
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Syntax
Private Sub Close Implements ICommunicationObject.Close
void ICommunicationObject.Close()
Implements
ICommunicationObject..::.Close()()()
Remarks
This method causes an ICommunicationObject to gracefully transition from the Opened state to the Closed state. The Close method allows any unfinished work to be completed before returning. (For example, finish sending any buffered messages.)
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone
See Also
Reference
ClientBase<(Of <(TChannel>)>)..::.ChannelBase<(Of <(T>)>) Class