ICommunicationObject.Close Method
Collapse the table of content
Expand the table of content

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)

'Declaration
Private Sub Close Implements ICommunicationObject.Close

Implements

ICommunicationObject.Close

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.)

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft