Redigera

Dela via


ClientBase<TChannel>.ICommunicationObject.BeginOpen Method

Definition

Begins an asynchronous operation to open the ClientBase<TChannel> object.

Overloads

ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to open the ClientBase<TChannel> object within a specified interval of time.

ICommunicationObject.BeginOpen(AsyncCallback, Object)

Begins an asynchronous operation to open the ClientBase<TChannel> object.

ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)

Source:
ClientBase.cs
Source:
ClientBase.cs

Begins an asynchronous operation to open the ClientBase<TChannel> object within a specified interval of time.

 virtual IAsyncResult ^ System.ServiceModel.ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::ICommunicationObject::BeginOpen;
IAsyncResult ICommunicationObject.BeginOpen (TimeSpan timeout, AsyncCallback callback, object state);
abstract member System.ServiceModel.ICommunicationObject.BeginOpen : TimeSpan * AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.ICommunicationObject.BeginOpen : TimeSpan * AsyncCallback * obj -> IAsyncResult
Function BeginOpen (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult Implements ICommunicationObject.BeginOpen

Parameters

timeout
TimeSpan

The time within which the call must complete.

callback
AsyncCallback

The method that receives the callback on completion.

state
Object

The state data.

Returns

The IAsyncResult that references the asynchronous open operation.

Implements

Remarks

For more information, see System.ServiceModel.Channels.CommunicationObject.

Applies to

ICommunicationObject.BeginOpen(AsyncCallback, Object)

Source:
ClientBase.cs
Source:
ClientBase.cs

Begins an asynchronous operation to open the ClientBase<TChannel> object.

 virtual IAsyncResult ^ System.ServiceModel.ICommunicationObject.BeginOpen(AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::ICommunicationObject::BeginOpen;
IAsyncResult ICommunicationObject.BeginOpen (AsyncCallback callback, object state);
abstract member System.ServiceModel.ICommunicationObject.BeginOpen : AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.ICommunicationObject.BeginOpen : AsyncCallback * obj -> IAsyncResult
Function BeginOpen (callback As AsyncCallback, state As Object) As IAsyncResult Implements ICommunicationObject.BeginOpen

Parameters

callback
AsyncCallback

The method that receives the callback on completion.

state
Object

The state data.

Returns

The IAsyncResult that references the asynchronous open operation.

Implements

Remarks

For more information, see System.ServiceModel.Channels.CommunicationObject.

Applies to