WorkflowServiceAttributes.IgnoreExtensionDataObject 屬性

定義

取得或設定值,這個值會指定是否要將未知的序列化資料傳送到網路上。

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

屬性值

Boolean

如果絕不傳送未知的序列化資料,則為 true,否則為 false

範例

下列範例將示範如何存取 IgnoreExtensionDataObject 屬性。

WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
attributes.IgnoreExtensionDataObject = true;
Dim attributes As New WorkflowServiceAttributes()
attributes.IgnoreExtensionDataObject = True

備註

預設值是 false

適用於