Leggere in inglese

Condividi tramite


FabricClient.ApplicationManagementClient.GetApplicationManifestAsync Method

Definition

Overloads

GetApplicationManifestAsync(String, String)

Gets the contents of a provisioned Application Manifest stored in the cluster.

GetApplicationManifestAsync(String, String, TimeSpan, CancellationToken)

Gets the contents of a provisioned Application Manifest stored in the cluster.

GetApplicationManifestAsync(String, String)

Gets the contents of a provisioned Application Manifest stored in the cluster.

public System.Threading.Tasks.Task<string> GetApplicationManifestAsync (string applicationTypeName, string applicationTypeVersion);
member this.GetApplicationManifestAsync : string * string -> System.Threading.Tasks.Task<string>
Public Function GetApplicationManifestAsync (applicationTypeName As String, applicationTypeVersion As String) As Task(Of String)

Parameters

applicationTypeName
String

The type name as specified in the Application Manifest.

applicationTypeVersion
String

The type version as specified in the Application Manifest.

Returns

A Task whose result is the raw XML string contents of the Application Manifest.

Exceptions

The requested application type and version has not been provisioned.

Applies to

GetApplicationManifestAsync(String, String, TimeSpan, CancellationToken)

Gets the contents of a provisioned Application Manifest stored in the cluster.

public System.Threading.Tasks.Task<string> GetApplicationManifestAsync (string applicationTypeName, string applicationTypeVersion, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetApplicationManifestAsync : string * string * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetApplicationManifestAsync (applicationTypeName As String, applicationTypeVersion As String, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of String)

Parameters

applicationTypeName
String

The type name as specified in the Application Manifest.

applicationTypeVersion
String

The type version as specified in the Application Manifest.

timeout
TimeSpan

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

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 whose result is the raw XML string contents of the Application Manifest.

Exceptions

The requested application type and version has not been provisioned.

Applies to