Extensions.DeleteComposeDeploymentAsync Extensions.DeleteComposeDeploymentAsync Extensions.DeleteComposeDeploymentAsync Method

Definition

Overloads

DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription) DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription) DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription)

Deletes the compose deployment instance from the cluster.

DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription, TimeSpan) DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription, TimeSpan) DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription, TimeSpan)

Deletes the compose deployment from the cluster.

DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription, TimeSpan, CancellationToken) DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription, TimeSpan, CancellationToken)

Deletes the compose deployment from the cluster.

DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription) DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription) DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription)

Deletes the compose deployment instance from the cluster.

public static System.Threading.Tasks.Task DeleteComposeDeploymentAsync (this System.Fabric.FabricClient.ComposeDeploymentClient client, Microsoft.ServiceFabric.Preview.Client.Description.DeleteComposeDeploymentDescription description);
static member DeleteComposeDeploymentAsync : System.Fabric.FabricClient.ComposeDeploymentClient * Microsoft.ServiceFabric.Preview.Client.Description.DeleteComposeDeploymentDescription -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteComposeDeploymentAsync (client As FabricClient.ComposeDeploymentClient, description As DeleteComposeDeploymentDescription) As Task

Parameters

Returns

A Task representing the operation.

Exceptions

The FabricClient object is in a closed state. Dispose of the FabricClient object you are using and instantiate a new FabricClient object.

The request timed out but may have already been accepted for processing by the system.

The request was canceled before the timeout expired but may have already been accepted for processing by the system.

Remarks

All compose deployment state will be lost and cannot be recovered after the compose deployment is deleted.

DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription, TimeSpan) DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription, TimeSpan) DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription, TimeSpan)

Deletes the compose deployment from the cluster.

public static System.Threading.Tasks.Task DeleteComposeDeploymentAsync (this System.Fabric.FabricClient.ComposeDeploymentClient client, Microsoft.ServiceFabric.Preview.Client.Description.DeleteComposeDeploymentDescription description, TimeSpan timeout);
static member DeleteComposeDeploymentAsync : System.Fabric.FabricClient.ComposeDeploymentClient * Microsoft.ServiceFabric.Preview.Client.Description.DeleteComposeDeploymentDescription * TimeSpan -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteComposeDeploymentAsync (client As FabricClient.ComposeDeploymentClient, description As DeleteComposeDeploymentDescription, timeout As TimeSpan) As Task

Parameters

timeout
TimeSpan TimeSpan TimeSpan

Defines the maximum amount of time the system will allow this operation to continue before returning System.TimeoutException.

Returns

A Task representing the operation.

Exceptions

The FabricClient object is in a closed state. Dispose of the FabricClient object you are using and instantiate a new FabricClient object.

The request timed out but may have already been accepted for processing by the system.

The request was canceled before the timeout expired but may have already been accepted for processing by the system.

Remarks

All application state will be lost and cannot be recovered after the application is deleted.

DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription, TimeSpan, CancellationToken) DeleteComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, DeleteComposeDeploymentDescription, TimeSpan, CancellationToken)

Deletes the compose deployment from the cluster.

public static System.Threading.Tasks.Task DeleteComposeDeploymentAsync (this System.Fabric.FabricClient.ComposeDeploymentClient client, Microsoft.ServiceFabric.Preview.Client.Description.DeleteComposeDeploymentDescription description, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
static member DeleteComposeDeploymentAsync : System.Fabric.FabricClient.ComposeDeploymentClient * Microsoft.ServiceFabric.Preview.Client.Description.DeleteComposeDeploymentDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

timeout
TimeSpan TimeSpan TimeSpan

Defines the maximum amount of time the system will allow this operation to continue before returning System.TimeoutException.

cancellationToken
CancellationToken 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.

Exceptions

The FabricClient object is in a closed state. Dispose of the FabricClient object you are using and instantiate a new FabricClient object.

The request timed out but may have already been accepted for processing by the system.

The request was canceled before the timeout expired but may have already been accepted for processing by the system.

Remarks

All application state will be lost and cannot be recovered after the application is deleted.

Applies to