TypedMessageConverter.Create Method (Type, String, String)

 

Represents a static method that returns a TypedMessageConverter instance.

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

public static TypedMessageConverter Create(
	Type messageContract,
	string action,
	string defaultNamespace
)

Parameters

messageContract
Type: System.Type

A message contract type that is a Type annotated with a MessageContractAttribute.

action
Type: System.String

An action string.

defaultNamespace
Type: System.String

A namespace.

Exception Condition
ArgumentNullException

Arguments are null

ArgumentException

The specified message contract type does not have the MessageContractAttribute applied

.NET Framework
Available since 3.0
Return to top
Show: