你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CheckValuePropertyOperation 类

定义

表示将 PropertyBatchOperation 属性的值与预期值进行比较的 。

public sealed class CheckValuePropertyOperation : System.Fabric.PropertyBatchOperation
type CheckValuePropertyOperation = class
    inherit PropertyBatchOperation
Public NotInheritable Class CheckValuePropertyOperation
Inherits PropertyBatchOperation
继承
CheckValuePropertyOperation

注解

如果 属性的值和预期值不相等,则比较失败。 CheckValuePropertyOperation通常用作批处理中写入操作的前提条件。 请注意,如果一个 PropertyBatchOperation 失败,则整个批处理会失败,无法提交。

构造函数

CheckValuePropertyOperation(String, Byte[])

使用指定的 propertyNameByte[] 值初始化 类的新实例CheckValuePropertyOperation

CheckValuePropertyOperation(String, Double)

使用指定的 propertyNameDouble 值初始化 类的新实例CheckValuePropertyOperation

CheckValuePropertyOperation(String, Guid)

使用指定的 propertyNameGuid 值初始化 类的新实例CheckValuePropertyOperation

CheckValuePropertyOperation(String, Int64)

使用指定的 propertyNameInt64 值初始化 类的新实例CheckValuePropertyOperation

CheckValuePropertyOperation(String, String)

使用指定的 propertyNameString 值初始化 类的新实例CheckValuePropertyOperation

属性

Kind

获取 PropertyBatchOperationKind 指示 的类型的 PropertyBatchOperation

(继承自 PropertyBatchOperation)
PropertyName

指示此 PropertyBatchOperation 访问的属性的名称。

(继承自 PropertyBatchOperation)
PropertyType

获取属性的类型。

PropertyValue

获取属性的值。

适用于