This topic has not yet been rated - Rate this topic

IChannel.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 BeginClose(AsyncCallback, Object) Begins an asynchronous operation to close a communication object. (Inherited from ICommunicationObject.)
Public method BeginClose(TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to close a communication object with a specified timeout. (Inherited from ICommunicationObject.)
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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.