다음을 통해 공유


CheckExistsPropertyOperation Class

Definition

Represents a PropertyBatchOperation that compares the Boolean existence of a property with the ExistenceCheck argument.

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

Remarks

The PropertyBatchOperation operation fails if the property is not equal to the ExistenceCheck argument. The CheckExistsPropertyOperation 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

CheckExistsPropertyOperation(String, Boolean)

Instantiates a CheckExistsPropertyOperation object.

Properties

ExistenceCheck

Gets the flag that specifies whether the property should exist for the operation to pass.

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)

Applies to