BinaryMessageFormatter.TypeFormat Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that defines how type descriptions are laid out in the serialized stream.
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
Property Value
One of the enumeration values that defines the type description format.
- Attributes
Remarks
Important
Calling methods from this class with untrusted data is a security risk. Call the methods from this class only with trusted data. For more information, see Validate All Inputs.
Currently, you should accept the default value, TypesWhenNeeded
.