FabricClient.TestManagementClient.StartNodePoisonAsync 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 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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應