AnnouncementClient.ICommunicationObject.BeginOpen Method

Definition

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.

C#
IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to open a communication object within a specified interval of time.

C#
IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1