Dela via


NodeTransitionDescription Constructor

Definition

Constructs a NodeTransitionDescription

protected NodeTransitionDescription (System.Fabric.NodeTransitionType nodeTransitionType, Guid operationId, string nodeName, System.Numerics.BigInteger nodeInstanceId);
new System.Fabric.Description.NodeTransitionDescription : System.Fabric.NodeTransitionType * Guid * string * System.Numerics.BigInteger -> System.Fabric.Description.NodeTransitionDescription
Protected Sub New (nodeTransitionType As NodeTransitionType, operationId As Guid, nodeName As String, nodeInstanceId As BigInteger)

Parameters

nodeTransitionType
NodeTransitionType

Indicates the type of transition to perform. NodeTransitionType.Start will start a stopped node. NodeTransitionType.Stop will stop a node that is up.

operationId
Guid

A Guid to identify this operation. This should be unique, and should not be used with other operations.

nodeName
String

The name of the node to start or stop. The name can be determined through GetNodeListAsync().

nodeInstanceId
BigInteger

The node instance id of the target node. This can be determined through GetNodeListAsync().

Applies to