KeyValueStoreReplica.OnChangeRoleAsync(ReplicaRole, CancellationToken) 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.
protected virtual System.Threading.Tasks.Task<string> OnChangeRoleAsync(System.Fabric.ReplicaRole newRole, System.Threading.CancellationToken cancellationToken);
abstract member OnChangeRoleAsync : System.Fabric.ReplicaRole * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.OnChangeRoleAsync : System.Fabric.ReplicaRole * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Protected Overridable Function OnChangeRoleAsync (newRole As ReplicaRole, cancellationToken As CancellationToken) As Task(Of String)
Parameters
- newRole
- ReplicaRole
- cancellationToken
- System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<System.String>