Επεξεργασία

Κοινή χρήση μέσω


ICommunicationObject.EndOpen(IAsyncResult) Method

Definition

Completes an asynchronous operation to open a communication object.

public:
 void EndOpen(IAsyncResult ^ result);
public void EndOpen (IAsyncResult result);
abstract member EndOpen : IAsyncResult -> unit
Public Sub EndOpen (result As IAsyncResult)

Parameters

result
IAsyncResult

The IAsyncResult that is returned by a call to the BeginOpen method.

Exceptions

The ICommunicationObject was unable to be opened and has entered the Faulted state.

The timeout elapsed before the ICommunicationObject was able to enter the Opened state and has entered the Faulted state.

Applies to