AddressHeader.GetValue<T> Method (XmlObjectSerializer)
Deserializes the information item from the current address header to an object of a specified type that uses a specified formatter to serialize this information.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
A class of type T with its fields and properties set to the values supplied by the current address header object.
An instance of a class of type T with its fields and properties set to the values supplied by the current address header object.
When using this overload, you must supply a type for the generic parameter T. The type of the return value is determined by the generic type parameter.
Use this overload only if you want to use a customized XML formatter; otherwise use the GetValue<T>() overload.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.