WorkflowServiceAttributes.ValidateMustUnderstand Właściwość

Definicja

Pobiera lub ustawia wartość, która określa, czy system lub aplikacja wymusza przetwarzanie nagłówka protokołu 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

Wartość właściwości

true jeśli system ma wykonywać przetwarzanie nagłówka MustUnderstand PROTOKOŁU SOAP; w przeciwnym razie false, co oznacza, że aplikacja wykonuje to przetwarzanie.

Przykłady

W poniższym przykładzie pokazano, jak uzyskać dostęp ValidateMustUnderstand do właściwości.

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

Uwagi

Wartość domyślna to true.

Dotyczy