Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ICommunicationObject::BeginClose Method

 

Begins an asynchronous operation to close a communication object.

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

NameDescription
System_CAPS_pubmethodBeginClose(AsyncCallback^, Object^)

Begins an asynchronous operation to close a communication object.

System_CAPS_pubmethodBeginClose(TimeSpan, AsyncCallback^, Object^)

Begins an asynchronous operation to close a communication object with a specified timeout.

This method causes an ICommunicationObject to gracefully transition from the Opened state to the Closed state.

Versions with and without an explicit timeout are provided.

Return to top
Show:
© 2017 Microsoft