BinaryMessageFormatter.TypeFormat 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定數值,定義如何在序列資料流中配置型別描述。
public:
property System::Runtime::Serialization::Formatters::FormatterTypeStyle TypeFormat { System::Runtime::Serialization::Formatters::FormatterTypeStyle get(); void set(System::Runtime::Serialization::Formatters::FormatterTypeStyle value); };
[System.Messaging.MessagingDescription("MsgTypeFormat")]
public System.Runtime.Serialization.Formatters.FormatterTypeStyle TypeFormat { get; set; }
[<System.Messaging.MessagingDescription("MsgTypeFormat")>]
member this.TypeFormat : System.Runtime.Serialization.Formatters.FormatterTypeStyle with get, set
Public Property TypeFormat As FormatterTypeStyle
屬性值
其中一個列舉值,定義型別描述格式。
- 屬性
備註
重要
使用不信任的資料呼叫此類別的方法,會造成安全性上的風險。 呼叫此類別的方法時,請一律使用信任的資料。 如需詳細資訊,請參閱 驗證所有輸入。
目前,您應該接受預設值 。 TypesWhenNeeded