Delen via


FabricClient.NetworkManagementClient.CreateNetworkAsync Method

Definition

Overloads

CreateNetworkAsync(String, NetworkDescription)

Creates the specific Service Fabric container network.

CreateNetworkAsync(String, NetworkDescription, TimeSpan, CancellationToken)

Creates the specific Service Fabric container network.

CreateNetworkAsync(String, NetworkDescription)

Creates the specific Service Fabric container network.

public System.Threading.Tasks.Task CreateNetworkAsync (string networkName, System.Fabric.Description.NetworkDescription networkDescription);
member this.CreateNetworkAsync : string * System.Fabric.Description.NetworkDescription -> System.Threading.Tasks.Task
Public Function CreateNetworkAsync (networkName As String, networkDescription As NetworkDescription) As Task

Parameters

networkName
String

The name of the container network.

networkDescription
NetworkDescription

The description of the container network.

Returns

A Task representing the operation.

Applies to

CreateNetworkAsync(String, NetworkDescription, TimeSpan, CancellationToken)

Creates the specific Service Fabric container network.

public System.Threading.Tasks.Task CreateNetworkAsync (string networkName, System.Fabric.Description.NetworkDescription networkDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.CreateNetworkAsync : string * System.Fabric.Description.NetworkDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CreateNetworkAsync (networkName As String, networkDescription As NetworkDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task

Parameters

networkName
String

The name of the container network.

networkDescription
NetworkDescription

The description of the container network.

timeout
TimeSpan
cancellationToken
CancellationToken

The CancellationToken that the operation is observing. It can be used to propagate notification that the operation should be canceled.

Returns

A Task representing the operation.

Applies to