AnnouncementClient.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 asynchronous 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)
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)
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.
Implements
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om