FabricClient.FaultManagementClient.ReportCompletionAsync メソッド

定義

この API は、レプリカが完了したことを示します。

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)

パラメーター

nodeName
String

レプリカを完了する必要があるノード名

partitionId
Guid

レプリカを完了する必要があるパーティション ID

replicaId
Int64

完了する必要があるレプリカ ID

token
CancellationToken

キャンセル トークン

戻り値

ReportCompletionResult:選択した実際のレプリカに関する情報を提供します。

例外

必要な引数のいずれかが null です。

選択したパーティションが存在しない場合、ファブリックエラー FabricErrorCode.ReplicaDoesNotExist - 選択したレプリカが見つからなかった場合は FabricErrorCode.PartitionNotFound です

適用対象