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.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기