Share via


WorkflowServiceAttributes.ValidateMustUnderstand 属性

定义

获取或设置一个值,该值指定是由系统还是由应用程序强制执行 SOAP MustUnderstand 标头处理。

public:
 property bool ValidateMustUnderstand { bool get(); void set(bool value); };
public bool ValidateMustUnderstand { get; set; }
member this.ValidateMustUnderstand : bool with get, set
Public Property ValidateMustUnderstand As Boolean

属性值

如果由系统执行 SOAP 标头 true 处理,则为 MustUnderstand,否则为 false,这表示由应用程序执行此处理。

示例

下面的示例演示如何访问 ValidateMustUnderstand 属性。

WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
attributes.ValidateMustUnderstand = false;
Dim attributes As New WorkflowServiceAttributes()
attributes.ValidateMustUnderstand = False

注解

默认值是 true

适用于