FabricClient.FaultManagementClient.ReportCompletionAsync 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.
This API will mark the replica completed.
public System.Threading.Tasks.Task<System.Fabric.Result.ReportCompletionResult> ReportCompletionAsync (string nodeName, Guid partitionId, long replicaId, System.Threading.CancellationToken token);
member this.ReportCompletionAsync : string * Guid * int64 * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Result.ReportCompletionResult>
Public Function ReportCompletionAsync (nodeName As String, partitionId As Guid, replicaId As Long, token As CancellationToken) As Task(Of ReportCompletionResult)
Parameters
- nodeName
- String
Node name where replica needs to be completed
- partitionId
- Guid
Partition Id where the replica needs to be completed
- replicaId
- Int64
Replica Id that needs to be completed
- token
- CancellationToken
Cancellation token
Returns
ReportCompletionResult which gives information about the actual selected replica.
Exceptions
Any of the required arguments are null.
These are the fabric failures FabricErrorCode.ReplicaDoesNotExist - If the Selected replica was not found FabricErrorCode.PartitionNotFound - if the specified partition selected does not exist
Applies to
Azure SDK for .NET