BeginClose Method

ICommunicationObject.BeginClose Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Begins an asynchronous operation to close a communication object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method BeginClose(AsyncCallback, Object) Begins an asynchronous operation to close a communication object.
Public method BeginClose(TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to close a communication object with a specified time-out.
Top

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

Versions with and without an explicit time-out are provided.

Show:
© 2017 Microsoft