TypedMessageConverter Class

 

Converts a typed message to an untyped message, or an untyped message to a typed message.

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

System::Object
  System.ServiceModel.Description::TypedMessageConverter

public ref class TypedMessageConverter abstract 

NameDescription
System_CAPS_protmethodTypedMessageConverter()

Initializes a new instance of the TypedMessageConverter class.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreate(Type^, String^)

Represents a static method that returns a TypedMessageConverter instance.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Type^, String^, DataContractFormatAttribute^)

Represents a static method that returns a TypedMessageConverter instance.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Type^, String^, String^)

Represents a static method that returns a TypedMessageConverter instance.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Type^, String^, String^, DataContractFormatAttribute^)

Represents a static method that returns a TypedMessageConverter instance.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Type^, String^, String^, XmlSerializerFormatAttribute^)

Represents a static method that returns a TypedMessageConverter instance.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Type^, String^, XmlSerializerFormatAttribute^)

Represents a static method that returns a TypedMessageConverter instance.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFromMessage(Message^)

Creates a typed message from the specified Message instance.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToMessage(Object^)

Creates a Message instance from the specified typed message.

System_CAPS_pubmethodToMessage(Object^, MessageVersion^)

Creates a Message instance from the specified typed message using the specified version.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

This class provides functionalities to convert a typed message to an untyped message, or an untyped message to a typed message. A typed message is an instance of a type that has the MessageContractAttribute attribute annotated. An untyped message is one that is an instance of the Message class. You can annotate a type with the MessageContractAttribute to create a custom message type, and then use the methods provided by this class to convert it to an untyped Message instance.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: