AddressHeader::GetValue<T> Method ()

 

Deserializes the information item from the current address header to an object of a specified type.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
generic<typename T>
T GetValue()

Return Value

Type: T

An instance of a class of type T with its fields and properties set to the values supplied by the current address header object.

Type Parameters

T

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 the GetValue<T>(XmlObjectSerializer^) overload if you want to use a customized XML formatter.

The following example shows how to call this method.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: