ClientBase<TChannel>.ChannelBase<T>.ICommunicationObject.BeginOpen 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 operation to open a communication object.
Overloads
ICommunicationObject.BeginOpen(AsyncCallback, Object) |
Begins an asynchronous operation to open a communication object. |
ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object) |
Begins an asynchronous operation to open a communication object within a specified interval of time. |
ICommunicationObject.BeginOpen(AsyncCallback, Object)
- Source:
- ClientBase.cs
Begins an asynchronous operation to open a communication 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 AsyncCallback delegate that receives notification of the completion of the asynchronous open operation.
- state
- Object
An object, specified by the application, that contains state information associated with the asynchronous open operation.
Returns
The IAsyncResult that references the asynchronous open operation.
Implements
Applies to
ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)
- Source:
- ClientBase.cs
Begins an asynchronous operation to open a communication 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 timespan that specifies how long the send operation has to complete before timing out.
- callback
- AsyncCallback
The AsyncCallback delegate that receives notification of the completion of the asynchronous open operation.
- state
- Object
An object, specified by the application, that contains state information associated with the asynchronous open operation.
Returns
The IAsyncResult that references the asynchronous open operation.