FabricClient.FaultManagementClient.RestartDeployedCodePackageAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RestartDeployedCodePackageAsync(String, Uri, String, String, String, Int64, CompletionMode)
public System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult> RestartDeployedCodePackageAsync(string nodeName, Uri applicationName, string serviceManifestName, string servicePackageActivationId, string codePackageName, long codePackageInstanceId, System.Fabric.CompletionMode completionMode);
member this.RestartDeployedCodePackageAsync : string * Uri * string * string * string * int64 * System.Fabric.CompletionMode -> System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult>
Public Function RestartDeployedCodePackageAsync (nodeName As String, applicationName As Uri, serviceManifestName As String, servicePackageActivationId As String, codePackageName As String, codePackageInstanceId As Long, completionMode As CompletionMode) As Task(Of RestartDeployedCodePackageResult)
Parameters
- nodeName
- System.String
- applicationName
- System.Uri
- serviceManifestName
- System.String
- servicePackageActivationId
- System.String
- codePackageName
- System.String
- codePackageInstanceId
- System.Int64
- completionMode
- CompletionMode
Returns
System.Threading.Tasks.Task<RestartDeployedCodePackageResult>
Applies to
RestartDeployedCodePackageAsync(String, Uri, String, String, String, Int64, CompletionMode, TimeSpan, CancellationToken)
public System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult> RestartDeployedCodePackageAsync(string nodeName, Uri applicationName, string serviceManifestName, string servicePackageActivationId, string codePackageName, long codePackageInstanceId, System.Fabric.CompletionMode completionMode, TimeSpan operationTimeout, System.Threading.CancellationToken token);
member this.RestartDeployedCodePackageAsync : string * Uri * string * string * string * int64 * System.Fabric.CompletionMode * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult>
Public Function RestartDeployedCodePackageAsync (nodeName As String, applicationName As Uri, serviceManifestName As String, servicePackageActivationId As String, codePackageName As String, codePackageInstanceId As Long, completionMode As CompletionMode, operationTimeout As TimeSpan, token As CancellationToken) As Task(Of RestartDeployedCodePackageResult)
Parameters
- nodeName
- System.String
- applicationName
- System.Uri
- serviceManifestName
- System.String
- servicePackageActivationId
- System.String
- codePackageName
- System.String
- codePackageInstanceId
- System.Int64
- completionMode
- CompletionMode
- operationTimeout
- System.TimeSpan
- token
- System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<RestartDeployedCodePackageResult>
Applies to
RestartDeployedCodePackageAsync(String, Uri, String, String, Int64, CompletionMode, TimeSpan, CancellationToken)
public System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult> RestartDeployedCodePackageAsync(string nodeName, Uri applicationName, string serviceManifestName, string codePackageName, long codePackageInstanceId, System.Fabric.CompletionMode completionMode, TimeSpan operationTimeout, System.Threading.CancellationToken token);
member this.RestartDeployedCodePackageAsync : string * Uri * string * string * int64 * System.Fabric.CompletionMode * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult>
Public Function RestartDeployedCodePackageAsync (nodeName As String, applicationName As Uri, serviceManifestName As String, codePackageName As String, codePackageInstanceId As Long, completionMode As CompletionMode, operationTimeout As TimeSpan, token As CancellationToken) As Task(Of RestartDeployedCodePackageResult)
Parameters
- nodeName
- System.String
- applicationName
- System.Uri
- serviceManifestName
- System.String
- codePackageName
- System.String
- codePackageInstanceId
- System.Int64
- completionMode
- CompletionMode
- operationTimeout
- System.TimeSpan
- token
- System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<RestartDeployedCodePackageResult>
Applies to
RestartDeployedCodePackageAsync(String, Uri, String, String, Int64, CompletionMode, CancellationToken)
public System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult> RestartDeployedCodePackageAsync(string nodeName, Uri applicationName, string serviceManifestName, string codePackageName, long codePackageInstanceId, System.Fabric.CompletionMode completionMode, System.Threading.CancellationToken token);
member this.RestartDeployedCodePackageAsync : string * Uri * string * string * int64 * System.Fabric.CompletionMode * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult>
Public Function RestartDeployedCodePackageAsync (nodeName As String, applicationName As Uri, serviceManifestName As String, codePackageName As String, codePackageInstanceId As Long, completionMode As CompletionMode, token As CancellationToken) As Task(Of RestartDeployedCodePackageResult)
Parameters
- nodeName
- System.String
- applicationName
- System.Uri
- serviceManifestName
- System.String
- codePackageName
- System.String
- codePackageInstanceId
- System.Int64
- completionMode
- CompletionMode
- token
- System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<RestartDeployedCodePackageResult>
Applies to
RestartDeployedCodePackageAsync(String, Uri, String, String, String, Int64, CompletionMode, CancellationToken)
public System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult> RestartDeployedCodePackageAsync(string nodeName, Uri applicationName, string serviceManifestName, string servicePackageActivationId, string codePackageName, long codePackageInstanceId, System.Fabric.CompletionMode completionMode, System.Threading.CancellationToken token);
member this.RestartDeployedCodePackageAsync : string * Uri * string * string * string * int64 * System.Fabric.CompletionMode * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult>
Public Function RestartDeployedCodePackageAsync (nodeName As String, applicationName As Uri, serviceManifestName As String, servicePackageActivationId As String, codePackageName As String, codePackageInstanceId As Long, completionMode As CompletionMode, token As CancellationToken) As Task(Of RestartDeployedCodePackageResult)
Parameters
- nodeName
- System.String
- applicationName
- System.Uri
- serviceManifestName
- System.String
- servicePackageActivationId
- System.String
- codePackageName
- System.String
- codePackageInstanceId
- System.Int64
- completionMode
- CompletionMode
- token
- System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<RestartDeployedCodePackageResult>
Applies to
RestartDeployedCodePackageAsync(Uri, ReplicaSelector, CompletionMode, TimeSpan, CancellationToken)
public System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult> RestartDeployedCodePackageAsync(Uri applicationName, System.Fabric.ReplicaSelector replicaSelector, System.Fabric.CompletionMode completionMode, TimeSpan operationTimeout, System.Threading.CancellationToken token);
member this.RestartDeployedCodePackageAsync : Uri * System.Fabric.ReplicaSelector * System.Fabric.CompletionMode * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult>
Public Function RestartDeployedCodePackageAsync (applicationName As Uri, replicaSelector As ReplicaSelector, completionMode As CompletionMode, operationTimeout As TimeSpan, token As CancellationToken) As Task(Of RestartDeployedCodePackageResult)
Parameters
- applicationName
- System.Uri
- replicaSelector
- ReplicaSelector
- completionMode
- CompletionMode
- operationTimeout
- System.TimeSpan
- token
- System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<RestartDeployedCodePackageResult>
Applies to
RestartDeployedCodePackageAsync(Uri, ReplicaSelector, CompletionMode, CancellationToken)
public System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult> RestartDeployedCodePackageAsync(Uri applicationName, System.Fabric.ReplicaSelector replicaSelector, System.Fabric.CompletionMode completionMode, System.Threading.CancellationToken token);
member this.RestartDeployedCodePackageAsync : Uri * System.Fabric.ReplicaSelector * System.Fabric.CompletionMode * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult>
Public Function RestartDeployedCodePackageAsync (applicationName As Uri, replicaSelector As ReplicaSelector, completionMode As CompletionMode, token As CancellationToken) As Task(Of RestartDeployedCodePackageResult)
Parameters
- applicationName
- System.Uri
- replicaSelector
- ReplicaSelector
- completionMode
- CompletionMode
- token
- System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<RestartDeployedCodePackageResult>
Applies to
RestartDeployedCodePackageAsync(Uri, ReplicaSelector, CompletionMode)
public System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult> RestartDeployedCodePackageAsync(Uri applicationName, System.Fabric.ReplicaSelector replicaSelector, System.Fabric.CompletionMode completionMode);
member this.RestartDeployedCodePackageAsync : Uri * System.Fabric.ReplicaSelector * System.Fabric.CompletionMode -> System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult>
Public Function RestartDeployedCodePackageAsync (applicationName As Uri, replicaSelector As ReplicaSelector, completionMode As CompletionMode) As Task(Of RestartDeployedCodePackageResult)
Parameters
- applicationName
- System.Uri
- replicaSelector
- ReplicaSelector
- completionMode
- CompletionMode
Returns
System.Threading.Tasks.Task<RestartDeployedCodePackageResult>
Applies to
RestartDeployedCodePackageAsync(String, Uri, String, String, Int64, CompletionMode)
public System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult> RestartDeployedCodePackageAsync(string nodeName, Uri applicationName, string serviceManifestName, string codePackageName, long codePackageInstanceId, System.Fabric.CompletionMode completionMode);
member this.RestartDeployedCodePackageAsync : string * Uri * string * string * int64 * System.Fabric.CompletionMode -> System.Threading.Tasks.Task<System.Fabric.Result.RestartDeployedCodePackageResult>
Public Function RestartDeployedCodePackageAsync (nodeName As String, applicationName As Uri, serviceManifestName As String, codePackageName As String, codePackageInstanceId As Long, completionMode As CompletionMode) As Task(Of RestartDeployedCodePackageResult)
Parameters
- nodeName
- System.String
- applicationName
- System.Uri
- serviceManifestName
- System.String
- codePackageName
- System.String
- codePackageInstanceId
- System.Int64
- completionMode
- CompletionMode
Returns
System.Threading.Tasks.Task<RestartDeployedCodePackageResult>