Compartir a través de


FabricClient.NetworkManagementClient.CreateNetworkAsync Método

Definición

Sobrecargas

CreateNetworkAsync(String, NetworkDescription)

Crea la red de contenedor específica de Service Fabric.

CreateNetworkAsync(String, NetworkDescription, TimeSpan, CancellationToken)

Crea la red de contenedor específica de Service Fabric.

CreateNetworkAsync(String, NetworkDescription)

Crea la red de contenedor específica de Service Fabric.

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

Parámetros

networkName
String

Nombre de la red del contenedor.

networkDescription
NetworkDescription

Descripción de la red del contenedor.

Devoluciones

que Task representa la operación.

Se aplica a

CreateNetworkAsync(String, NetworkDescription, TimeSpan, CancellationToken)

Crea la red de contenedor específica de Service Fabric.

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

Parámetros

networkName
String

Nombre de la red del contenedor.

networkDescription
NetworkDescription

Descripción de la red del contenedor.

timeout
TimeSpan
cancellationToken
CancellationToken

CancellationToken que observa la operación. Se puede usar para propagar la notificación de que se debe cancelar la operación.

Devoluciones

que Task representa la operación.

Se aplica a