共用方式為


FabricClient.NetworkManagementClient.DeleteNetworkAsync Method

Definition

Overloads

DeleteNetworkAsync(DeleteNetworkDescription)

Deletes the specific Service Fabric container network.

DeleteNetworkAsync(DeleteNetworkDescription, TimeSpan, CancellationToken)

Deletes the specific Service Fabric container network.

DeleteNetworkAsync(DeleteNetworkDescription)

Deletes the specific Service Fabric container network.

public System.Threading.Tasks.Task DeleteNetworkAsync (System.Fabric.Description.DeleteNetworkDescription deleteNetworkDescription);
member this.DeleteNetworkAsync : System.Fabric.Description.DeleteNetworkDescription -> System.Threading.Tasks.Task
Public Function DeleteNetworkAsync (deleteNetworkDescription As DeleteNetworkDescription) As Task

Parameters

deleteNetworkDescription
DeleteNetworkDescription

The description of the container network to be deleted.

Returns

A Task representing the operation.

Applies to

DeleteNetworkAsync(DeleteNetworkDescription, TimeSpan, CancellationToken)

Deletes the specific Service Fabric container network.

public System.Threading.Tasks.Task DeleteNetworkAsync (System.Fabric.Description.DeleteNetworkDescription deleteNetworkDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.DeleteNetworkAsync : System.Fabric.Description.DeleteNetworkDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteNetworkAsync (deleteNetworkDescription As DeleteNetworkDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task

Parameters

deleteNetworkDescription
DeleteNetworkDescription

The description of the container network to be deleted.

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