ICommunicationObject.BeginClose Method

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 Supported by the .NET Compact Framework BeginClose(AsyncCallback, Object) Begins an asynchronous operation to close a communication object.
Public method Supported by the .NET Compact Framework BeginClose(TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to close a communication object with a specified timeout.
Top

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft