ClientBase<TChannel>.ICommunicationObject.BeginClose Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Begins an asynchronous operation to close the ClientBase<TChannel>.
Overloads
ICommunicationObject.BeginClose(AsyncCallback, Object) |
Begins an asynchronous operation to close the ClientBase<TChannel>. |
ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object) |
Begins an asynchronous operation to close the ClientBase<TChannel> with a specified timeout. |
ICommunicationObject.BeginClose(AsyncCallback, Object)
- Source:
- ClientBase.cs
- Source:
- ClientBase.cs
- Source:
- ClientBase.cs
Begins an asynchronous operation to close the ClientBase<TChannel>.
virtual IAsyncResult ^ System.ServiceModel.ICommunicationObject.BeginClose(AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::ICommunicationObject::BeginClose;
IAsyncResult ICommunicationObject.BeginClose (AsyncCallback callback, object state);
abstract member System.ServiceModel.ICommunicationObject.BeginClose : AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.ICommunicationObject.BeginClose : AsyncCallback * obj -> IAsyncResult
Function BeginClose (callback As AsyncCallback, state As Object) As IAsyncResult Implements ICommunicationObject.BeginClose
Parameters
- callback
- AsyncCallback
The method that receives the callback on completion.
- state
- Object
The state data.
Returns
The IAsyncResult that references the asynchronous close operation.
Implements
Remarks
For more information, see System.ServiceModel.Channels.CommunicationObject.
Applies to
ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)
- Source:
- ClientBase.cs
- Source:
- ClientBase.cs
- Source:
- ClientBase.cs
Begins an asynchronous operation to close the ClientBase<TChannel> with a specified timeout.
virtual IAsyncResult ^ System.ServiceModel.ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::ICommunicationObject::BeginClose;
IAsyncResult ICommunicationObject.BeginClose (TimeSpan timeout, AsyncCallback callback, object state);
abstract member System.ServiceModel.ICommunicationObject.BeginClose : TimeSpan * AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.ICommunicationObject.BeginClose : TimeSpan * AsyncCallback * obj -> IAsyncResult
Function BeginClose (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult Implements ICommunicationObject.BeginClose
Parameters
- timeout
- TimeSpan
The period within which the call must complete.
- callback
- AsyncCallback
The callback object invoked when the operation completes.
- state
- Object
The state data.
Returns
The IAsyncResult that references the asynchronous begin close operation.
Implements
Remarks
For more information, see System.ServiceModel.Channels.CommunicationObject.