TargetTypeNames Property
Specifies the set of possible types that will be deserialized by the formatter from the message provided.
Syntax
'Declaration <MessagingDescriptionAttribute("Specifies the set of possible types that will be deserialized by the formatter from the message provided.")> Public Property TargetTypeNames As String()
'Usage Dim instance As XmlMessageFormatter Dim value() As String instance.TargetTypeNames = value value = instance.TargetTypeNames
[MessagingDescription("Specifies the set of possible types that will be deserialized by the formatter from the message provided.")] public string[] TargetTypeNames {get; set;}
[MessagingDescription("Specifies the set of possible types that will be deserialized by the formatter from the message provided.")] public: property array<String^>^ TargetTypeNames { array<String^>^ get(); void set ( array<String^>^ value); }
Property Value
An array of type System.String that specifies the types of objects to deserialize from the message body when reading the message.Exceptions
Exception | Description |
---|---|
System.ArgumentNullException | The TargetTypeNames property is null. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also