다음을 통해 공유


CheckSequencePropertyOperation Class

Definition

Compares the SequenceNumber of a property with the SequenceNumber argument.

public sealed class CheckSequencePropertyOperation : System.Fabric.PropertyBatchOperation
type CheckSequencePropertyOperation = class
    inherit PropertyBatchOperation
Public NotInheritable Class CheckSequencePropertyOperation
Inherits PropertyBatchOperation
Inheritance
CheckSequencePropertyOperation

Remarks

The comparison fails if the sequence numbers are not equal. CheckSequencePropertyOperation is generally used as a precondition for the write operations in the batch. Note that if one PropertyBatchOperation fails, the entire batch fails and cannot be committed.

Constructors

CheckSequencePropertyOperation(String, Int64)

Instantiates a new instance of the CheckSequencePropertyOperation class.

Properties

Kind

Gets the PropertyBatchOperationKind that indicates the kind of the PropertyBatchOperation.

(Inherited from PropertyBatchOperation)
PropertyName

Indicates the name of the property that this PropertyBatchOperation accesses.

(Inherited from PropertyBatchOperation)
SequenceNumber

Gets the expected sequence number.

Applies to