Share via


ModuleClient.OpenAsync Method

Definition

Overloads

OpenAsync()

Explicitly open the ModuleClient instance.

OpenAsync(CancellationToken)

Explicitly open the ModuleClient instance.

<param name="cancellationToken">A cancellation token to cancel the operation.</param><exception cref="T:System.OperationCanceledException">Thrown when the operation has been canceled.</exception>

OpenAsync()

Explicitly open the ModuleClient instance.

public System.Threading.Tasks.Task OpenAsync();
member this.OpenAsync : unit -> System.Threading.Tasks.Task
Public Function OpenAsync () As Task

Returns

Applies to

OpenAsync(CancellationToken)

Explicitly open the ModuleClient instance.

<param name="cancellationToken">A cancellation token to cancel the operation.</param><exception cref="T:System.OperationCanceledException">Thrown when the operation has been canceled.</exception>
public System.Threading.Tasks.Task OpenAsync(System.Threading.CancellationToken cancellationToken);
member this.OpenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OpenAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

Returns

Applies to