TypedMessageConverter.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a static method that returns a TypedMessageConverter instance.
Overloads
Create(Type, String) |
Represents a static method that returns a TypedMessageConverter instance. |
Create(Type, String, DataContractFormatAttribute) |
Represents a static method that returns a TypedMessageConverter instance. |
Create(Type, String, XmlSerializerFormatAttribute) |
Represents a static method that returns a TypedMessageConverter instance. |
Create(Type, String, String) |
Represents a static method that returns a TypedMessageConverter instance. |
Create(Type, String, String, DataContractFormatAttribute) |
Represents a static method that returns a TypedMessageConverter instance. |
Create(Type, String, String, XmlSerializerFormatAttribute) |
Represents a static method that returns a TypedMessageConverter instance. |
Create(Type, String)
- Source:
- TypedMessageConverter.cs
- Source:
- TypedMessageConverter.cs
Represents a static method that returns a TypedMessageConverter instance.
public:
static System::ServiceModel::Description::TypedMessageConverter ^ Create(Type ^ messageContract, System::String ^ action);
public static System.ServiceModel.Description.TypedMessageConverter Create (Type messageContract, string action);
static member Create : Type * string -> System.ServiceModel.Description.TypedMessageConverter
Public Shared Function Create (messageContract As Type, action As String) As TypedMessageConverter
Parameters
- messageContract
- Type
A message contract type that is a Type annotated with a MessageContractAttribute.
- action
- String
An action string.
Returns
A TypedMessageConverter instance.
Exceptions
Arguments are null
The specified message contract type does not have the MessageContractAttribute applied
Applies to
Create(Type, String, DataContractFormatAttribute)
- Source:
- TypedMessageConverter.cs
- Source:
- TypedMessageConverter.cs
Represents a static method that returns a TypedMessageConverter instance.
public:
static System::ServiceModel::Description::TypedMessageConverter ^ Create(Type ^ messageContract, System::String ^ action, System::ServiceModel::DataContractFormatAttribute ^ formatterAttribute);
public static System.ServiceModel.Description.TypedMessageConverter Create (Type messageContract, string action, System.ServiceModel.DataContractFormatAttribute formatterAttribute);
static member Create : Type * string * System.ServiceModel.DataContractFormatAttribute -> System.ServiceModel.Description.TypedMessageConverter
Public Shared Function Create (messageContract As Type, action As String, formatterAttribute As DataContractFormatAttribute) As TypedMessageConverter
Parameters
- messageContract
- Type
A message contract type that is a Type annotated with a MessageContractAttribute.
- action
- String
An action string.
- formatterAttribute
- DataContractFormatAttribute
A DataContractFormatAttribute that specifies the formatter to be used.
Returns
A TypedMessageConverter instance.
Exceptions
Arguments are null
The specified message contract type does not have the MessageContractAttribute applied
Applies to
Create(Type, String, XmlSerializerFormatAttribute)
- Source:
- TypedMessageConverter.cs
- Source:
- TypedMessageConverter.cs
Represents a static method that returns a TypedMessageConverter instance.
public:
static System::ServiceModel::Description::TypedMessageConverter ^ Create(Type ^ messageContract, System::String ^ action, System::ServiceModel::XmlSerializerFormatAttribute ^ formatterAttribute);
public static System.ServiceModel.Description.TypedMessageConverter Create (Type messageContract, string action, System.ServiceModel.XmlSerializerFormatAttribute formatterAttribute);
static member Create : Type * string * System.ServiceModel.XmlSerializerFormatAttribute -> System.ServiceModel.Description.TypedMessageConverter
Public Shared Function Create (messageContract As Type, action As String, formatterAttribute As XmlSerializerFormatAttribute) As TypedMessageConverter
Parameters
- messageContract
- Type
A message contract type that is a Type annotated with a MessageContractAttribute.
- action
- String
An action string.
- formatterAttribute
- XmlSerializerFormatAttribute
A XmlSerializerFormatAttribute that specifies the formatter to be used.
Returns
A TypedMessageConverter instance.
Exceptions
Arguments are null
The specified message contract type does not have the MessageContractAttribute applied
Applies to
Create(Type, String, String)
- Source:
- TypedMessageConverter.cs
- Source:
- TypedMessageConverter.cs
Represents a static method that returns a TypedMessageConverter instance.
public:
static System::ServiceModel::Description::TypedMessageConverter ^ Create(Type ^ messageContract, System::String ^ action, System::String ^ defaultNamespace);
public static System.ServiceModel.Description.TypedMessageConverter Create (Type messageContract, string action, string defaultNamespace);
static member Create : Type * string * string -> System.ServiceModel.Description.TypedMessageConverter
Public Shared Function Create (messageContract As Type, action As String, defaultNamespace As String) As TypedMessageConverter
Parameters
- messageContract
- Type
A message contract type that is a Type annotated with a MessageContractAttribute.
- action
- String
An action string.
- defaultNamespace
- String
A namespace.
Returns
A TypedMessageConverter instance.
Exceptions
Arguments are null
The specified message contract type does not have the MessageContractAttribute applied
Applies to
Create(Type, String, String, DataContractFormatAttribute)
- Source:
- TypedMessageConverter.cs
- Source:
- TypedMessageConverter.cs
Represents a static method that returns a TypedMessageConverter instance.
public:
static System::ServiceModel::Description::TypedMessageConverter ^ Create(Type ^ messageContract, System::String ^ action, System::String ^ defaultNamespace, System::ServiceModel::DataContractFormatAttribute ^ formatterAttribute);
public static System.ServiceModel.Description.TypedMessageConverter Create (Type messageContract, string action, string defaultNamespace, System.ServiceModel.DataContractFormatAttribute formatterAttribute);
static member Create : Type * string * string * System.ServiceModel.DataContractFormatAttribute -> System.ServiceModel.Description.TypedMessageConverter
Public Shared Function Create (messageContract As Type, action As String, defaultNamespace As String, formatterAttribute As DataContractFormatAttribute) As TypedMessageConverter
Parameters
- messageContract
- Type
A message contract type that is a Type annotated with a MessageContractAttribute.
- action
- String
An action string.
- defaultNamespace
- String
A namespace.
- formatterAttribute
- DataContractFormatAttribute
A DataContractFormatAttribute that specifies the formatter to be used.
Returns
A TypedMessageConverter instance.
Exceptions
Arguments are null
The specified message contract type does not have the MessageContractAttribute applied
Applies to
Create(Type, String, String, XmlSerializerFormatAttribute)
- Source:
- TypedMessageConverter.cs
- Source:
- TypedMessageConverter.cs
Represents a static method that returns a TypedMessageConverter instance.
public:
static System::ServiceModel::Description::TypedMessageConverter ^ Create(Type ^ messageContract, System::String ^ action, System::String ^ defaultNamespace, System::ServiceModel::XmlSerializerFormatAttribute ^ formatterAttribute);
public static System.ServiceModel.Description.TypedMessageConverter Create (Type messageContract, string action, string defaultNamespace, System.ServiceModel.XmlSerializerFormatAttribute formatterAttribute);
static member Create : Type * string * string * System.ServiceModel.XmlSerializerFormatAttribute -> System.ServiceModel.Description.TypedMessageConverter
Public Shared Function Create (messageContract As Type, action As String, defaultNamespace As String, formatterAttribute As XmlSerializerFormatAttribute) As TypedMessageConverter
Parameters
- messageContract
- Type
A message contract type that is a Type annotated with a MessageContractAttribute.
- action
- String
An action string.
- defaultNamespace
- String
A namespace.
- formatterAttribute
- XmlSerializerFormatAttribute
A XmlSerializerFormatAttribute that specifies the formatter to be used.
Returns
A TypedMessageConverter instance.
Exceptions
Arguments are null
The specified message contract type does not have the MessageContractAttribute applied