TypedMessageConverter.Create Methode

Definition

Stellt eine statische Methode dar, die eine TypedMessageConverter-Instanz zurückgibt.

Überlädt

Create(Type, String)

Stellt eine statische Methode dar, die eine TypedMessageConverter-Instanz zurückgibt.

Create(Type, String, DataContractFormatAttribute)

Stellt eine statische Methode dar, die eine TypedMessageConverter-Instanz zurückgibt.

Create(Type, String, XmlSerializerFormatAttribute)

Stellt eine statische Methode dar, die eine TypedMessageConverter-Instanz zurückgibt.

Create(Type, String, String)

Stellt eine statische Methode dar, die eine TypedMessageConverter-Instanz zurückgibt.

Create(Type, String, String, DataContractFormatAttribute)

Stellt eine statische Methode dar, die eine TypedMessageConverter-Instanz zurückgibt.

Create(Type, String, String, XmlSerializerFormatAttribute)

Stellt eine statische Methode dar, die eine TypedMessageConverter-Instanz zurückgibt.

Create(Type, String)

Quelle:
TypedMessageConverter.cs
Quelle:
TypedMessageConverter.cs
Quelle:
TypedMessageConverter.cs

Stellt eine statische Methode dar, die eine TypedMessageConverter-Instanz zurückgibt.

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

Parameter

messageContract
Type

Ein Nachrichtenvertragstyp, bei dem es sich um einen Type handelt, der mithilfe von MessageContractAttribute mit Anmerkungen versehen wurde.

action
String

Eine Aktionszeichenfolge.

Gibt zurück

Eine TypedMessageConverter-Instanz.

Ausnahmen

Argumente sind null

Auf den angegebenen Typ des Nachrichtenvertrags ist kein MessageContractAttribute angewendet

Gilt für:

Create(Type, String, DataContractFormatAttribute)

Quelle:
TypedMessageConverter.cs
Quelle:
TypedMessageConverter.cs
Quelle:
TypedMessageConverter.cs

Stellt eine statische Methode dar, die eine TypedMessageConverter-Instanz zurückgibt.

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

Parameter

messageContract
Type

Ein Nachrichtenvertragstyp, bei dem es sich um einen Type handelt, der mithilfe von MessageContractAttribute mit Anmerkungen versehen wurde.

action
String

Eine Aktionszeichenfolge.

formatterAttribute
DataContractFormatAttribute

Ein DataContractFormatAttribute, das den zu verwendenden Formatierer angibt.

Gibt zurück

Eine TypedMessageConverter-Instanz.

Ausnahmen

Argumente sind null

Auf den angegebenen Typ des Nachrichtenvertrags ist kein MessageContractAttribute angewendet

Gilt für:

Create(Type, String, XmlSerializerFormatAttribute)

Quelle:
TypedMessageConverter.cs
Quelle:
TypedMessageConverter.cs
Quelle:
TypedMessageConverter.cs

Stellt eine statische Methode dar, die eine TypedMessageConverter-Instanz zurückgibt.

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

Parameter

messageContract
Type

Ein Nachrichtenvertragstyp, bei dem es sich um einen Type handelt, der mithilfe von MessageContractAttribute mit Anmerkungen versehen wurde.

action
String

Eine Aktionszeichenfolge.

formatterAttribute
XmlSerializerFormatAttribute

Ein XmlSerializerFormatAttribute, das den zu verwendenden Formatierer angibt.

Gibt zurück

Eine TypedMessageConverter-Instanz.

Ausnahmen

Argumente sind null

Auf den angegebenen Typ des Nachrichtenvertrags ist kein MessageContractAttribute angewendet

Gilt für:

Create(Type, String, String)

Quelle:
TypedMessageConverter.cs
Quelle:
TypedMessageConverter.cs
Quelle:
TypedMessageConverter.cs

Stellt eine statische Methode dar, die eine TypedMessageConverter-Instanz zurückgibt.

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

Parameter

messageContract
Type

Ein Nachrichtenvertragstyp, bei dem es sich um einen Type handelt, der mithilfe von MessageContractAttribute mit Anmerkungen versehen wurde.

action
String

Eine Aktionszeichenfolge.

defaultNamespace
String

Ein Namespace.

Gibt zurück

Eine TypedMessageConverter-Instanz.

Ausnahmen

Argumente sind null

Auf den angegebenen Typ des Nachrichtenvertrags ist kein MessageContractAttribute angewendet

Gilt für:

Create(Type, String, String, DataContractFormatAttribute)

Quelle:
TypedMessageConverter.cs
Quelle:
TypedMessageConverter.cs
Quelle:
TypedMessageConverter.cs

Stellt eine statische Methode dar, die eine TypedMessageConverter-Instanz zurückgibt.

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

Parameter

messageContract
Type

Ein Nachrichtenvertragstyp, bei dem es sich um einen Type handelt, der mithilfe von MessageContractAttribute mit Anmerkungen versehen wurde.

action
String

Eine Aktionszeichenfolge.

defaultNamespace
String

Ein Namespace.

formatterAttribute
DataContractFormatAttribute

Ein DataContractFormatAttribute, das den zu verwendenden Formatierer angibt.

Gibt zurück

Eine TypedMessageConverter-Instanz.

Ausnahmen

Argumente sind null

Auf den angegebenen Typ des Nachrichtenvertrags ist kein MessageContractAttribute angewendet

Gilt für:

Create(Type, String, String, XmlSerializerFormatAttribute)

Quelle:
TypedMessageConverter.cs
Quelle:
TypedMessageConverter.cs
Quelle:
TypedMessageConverter.cs

Stellt eine statische Methode dar, die eine TypedMessageConverter-Instanz zurückgibt.

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

Parameter

messageContract
Type

Ein Nachrichtenvertragstyp, bei dem es sich um einen Type handelt, der mithilfe von MessageContractAttribute mit Anmerkungen versehen wurde.

action
String

Eine Aktionszeichenfolge.

defaultNamespace
String

Ein Namespace.

formatterAttribute
XmlSerializerFormatAttribute

Ein XmlSerializerFormatAttribute, das den zu verwendenden Formatierer angibt.

Gibt zurück

Eine TypedMessageConverter-Instanz.

Ausnahmen

Argumente sind null

Auf den angegebenen Typ des Nachrichtenvertrags ist kein MessageContractAttribute angewendet

Gilt für: