ReliableCollectionsActorStateProvider.IStateProviderReplica.OpenAsync 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.
Open the state provider replica for use.
System.Threading.Tasks.Task<System.Fabric.IReplicator> IStateProviderReplica.OpenAsync (System.Fabric.ReplicaOpenMode openMode, System.Fabric.IStatefulServicePartition partition, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.ServiceFabric.Data.IStateProviderReplica.OpenAsync : System.Fabric.ReplicaOpenMode * System.Fabric.IStatefulServicePartition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.IReplicator>
override this.Microsoft.ServiceFabric.Data.IStateProviderReplica.OpenAsync : System.Fabric.ReplicaOpenMode * System.Fabric.IStatefulServicePartition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.IReplicator>
Function OpenAsync (openMode As ReplicaOpenMode, partition As IStatefulServicePartition, cancellationToken As CancellationToken) As Task(Of IReplicator) Implements IStateProviderReplica.OpenAsync
Parameters
- openMode
- ReplicaOpenMode
Indicates whether this is a new or existing replica.
- partition
- IStatefulServicePartition
The partition this replica belongs to.
- cancellationToken
- CancellationToken
The token to monitor for cancellation requests.
Returns
Task that represents the asynchronous open operation. The result contains the replicator responsible for replicating state between other state provider replicas in the partition.
Implements
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET