FabricClient.TestManagementClient.StartNodePoisonAsync Method

Definition

This API will poison a node to make it down, and then will rejoin the cluser successfully.

public System.Threading.Tasks.Task StartNodePoisonAsync (System.Fabric.Description.StartNodePoisonDescription description, TimeSpan operationTimeout, System.Threading.CancellationToken token);
member this.StartNodePoisonAsync : System.Fabric.Description.StartNodePoisonDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function StartNodePoisonAsync (description As StartNodePoisonDescription, operationTimeout As TimeSpan, token As CancellationToken) As Task

Parameters

description
StartNodePoisonDescription

An object which describes which node to perform.

operationTimeout
TimeSpan

The timeout for this API call.

token
CancellationToken

The cancellationToken

Returns

A task

Exceptions

The ErrorCode property will indicate the reason. If the errorCode is InstanceIdMismatch, the nodeInstance provided does not match the instance of the node that was poisoned.

The operation timed out.

An argument with a value of null was passed in.

Applies to