Udostępnij za pośrednictwem


TypedMessageConverter.Create Metoda

Definicja

Reprezentuje metodę statyczną zwracającą TypedMessageConverter wystąpienie.

Przeciążenia

Create(Type, String)

Reprezentuje metodę statyczną zwracającą TypedMessageConverter wystąpienie.

Create(Type, String, DataContractFormatAttribute)

Reprezentuje metodę statyczną zwracającą TypedMessageConverter wystąpienie.

Create(Type, String, XmlSerializerFormatAttribute)

Reprezentuje metodę statyczną zwracającą TypedMessageConverter wystąpienie.

Create(Type, String, String)

Reprezentuje metodę statyczną zwracającą TypedMessageConverter wystąpienie.

Create(Type, String, String, DataContractFormatAttribute)

Reprezentuje metodę statyczną zwracającą TypedMessageConverter wystąpienie.

Create(Type, String, String, XmlSerializerFormatAttribute)

Reprezentuje metodę statyczną zwracającą TypedMessageConverter wystąpienie.

Create(Type, String)

Reprezentuje metodę statyczną zwracającą TypedMessageConverter wystąpienie.

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

Parametry

messageContract
Type

Typ kontraktu komunikatu, który jest adnotacją Type z elementem MessageContractAttribute.

action
String

Ciąg akcji.

Zwraca

TypedMessageConverter

TypedMessageConverter Wystąpienie.

Wyjątki

Argumenty są null

Określony typ kontraktu komunikatu nie ma zastosowanego elementu MessageContractAttribute

Dotyczy

Create(Type, String, DataContractFormatAttribute)

Reprezentuje metodę statyczną zwracającą TypedMessageConverter wystąpienie.

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

Parametry

messageContract
Type

Typ kontraktu komunikatu, który jest adnotacją Type z elementem MessageContractAttribute.

action
String

Ciąg akcji.

formatterAttribute
DataContractFormatAttribute

Element DataContractFormatAttribute określający formatator, który ma być używany.

Zwraca

TypedMessageConverter

TypedMessageConverter Wystąpienie.

Wyjątki

Argumenty są null

Określony typ kontraktu komunikatu nie ma zastosowanego elementu MessageContractAttribute

Dotyczy

Create(Type, String, XmlSerializerFormatAttribute)

Reprezentuje metodę statyczną zwracającą TypedMessageConverter wystąpienie.

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

Parametry

messageContract
Type

Typ kontraktu komunikatu, który jest adnotacją Type z elementem MessageContractAttribute.

action
String

Ciąg akcji.

formatterAttribute
XmlSerializerFormatAttribute

Element XmlSerializerFormatAttribute określający formatator, który ma być używany.

Zwraca

TypedMessageConverter

TypedMessageConverter Wystąpienie.

Wyjątki

Argumenty są null

Określony typ kontraktu komunikatu nie ma zastosowanego elementu MessageContractAttribute

Dotyczy

Create(Type, String, String)

Reprezentuje metodę statyczną zwracającą TypedMessageConverter wystąpienie.

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

Parametry

messageContract
Type

Typ kontraktu komunikatu, który jest adnotacją Type z elementem MessageContractAttribute.

action
String

Ciąg akcji.

defaultNamespace
String

Przestrzeń nazw.

Zwraca

TypedMessageConverter

TypedMessageConverter Wystąpienie.

Wyjątki

Argumenty są null

Określony typ kontraktu komunikatu nie ma zastosowanego elementu MessageContractAttribute

Dotyczy

Create(Type, String, String, DataContractFormatAttribute)

Reprezentuje metodę statyczną zwracającą TypedMessageConverter wystąpienie.

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

Parametry

messageContract
Type

Typ kontraktu komunikatu, który jest adnotacją Type z elementem MessageContractAttribute.

action
String

Ciąg akcji.

defaultNamespace
String

Przestrzeń nazw.

formatterAttribute
DataContractFormatAttribute

Element DataContractFormatAttribute określający formatator, który ma być używany.

Zwraca

TypedMessageConverter

TypedMessageConverter Wystąpienie.

Wyjątki

Argumenty są null

Określony typ kontraktu komunikatu nie ma zastosowanego elementu MessageContractAttribute

Dotyczy

Create(Type, String, String, XmlSerializerFormatAttribute)

Reprezentuje metodę statyczną zwracającą TypedMessageConverter wystąpienie.

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

Parametry

messageContract
Type

Typ kontraktu komunikatu, który jest adnotacją Type z elementem MessageContractAttribute.

action
String

Ciąg akcji.

defaultNamespace
String

Przestrzeń nazw.

formatterAttribute
XmlSerializerFormatAttribute

Element XmlSerializerFormatAttribute określający formatator, który ma być używany.

Zwraca

TypedMessageConverter

TypedMessageConverter Wystąpienie.

Wyjątki

Argumenty są null

Określony typ kontraktu komunikatu nie ma zastosowanego elementu MessageContractAttribute

Dotyczy