Dela via


PropertyBatchOperation Class

Definition

Represents the base class for property operations that can be put into a batch and be submitted through the SubmitPropertyBatchAsync(Uri, ICollection<PropertyBatchOperation>, TimeSpan, CancellationToken) method.

[System.Runtime.Serialization.KnownType(typeof(System.Fabric.CheckExistsPropertyOperation))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.CheckSequencePropertyOperation))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.CheckValuePropertyOperation))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.DeletePropertyOperation))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.GetPropertyOperation))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.PutCustomPropertyOperation))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.PutPropertyOperation))]
public abstract class PropertyBatchOperation
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.CheckExistsPropertyOperation))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.CheckSequencePropertyOperation))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.CheckValuePropertyOperation))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.DeletePropertyOperation))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.GetPropertyOperation))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.PutCustomPropertyOperation))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.PutPropertyOperation))>]
type PropertyBatchOperation = class
Public MustInherit Class PropertyBatchOperation
Inheritance
PropertyBatchOperation
Derived
Attributes

Remarks

Note that if one PropertyBatchOperation object fails, the entire batch fails and cannot be committed.

Constructors

PropertyBatchOperation()

Initializes a new instance of the PropertyBatchOperation object.

PropertyBatchOperation(String, PropertyBatchOperationKind)

Initializes a new instance of the PropertyBatchOperation object with the specified property name and kind.

Properties

Kind

Gets the PropertyBatchOperationKind that indicates the kind of the PropertyBatchOperation.

PropertyName

Indicates the name of the property that this PropertyBatchOperation accesses.

Applies to