TypedMessageConverter.Create Methode

Definition

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

Überlädt

Name Beschreibung
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, der Type mit einem MessageContractAttributeKommentar versehen ist.

action
String

Eine Aktionszeichenfolge.

Gibt zurück

Eine TypedMessageConverter Instanz.

Ausnahmen

Argumente sind null

Der angegebene Nachrichtenvertragstyp hat nicht das 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, der Type mit einem MessageContractAttributeKommentar versehen ist.

action
String

Eine Aktionszeichenfolge.

formatterAttribute
DataContractFormatAttribute

Ein DataContractFormatAttribute Wert, der den zu verwendenden Formatierer angibt.

Gibt zurück

Eine TypedMessageConverter Instanz.

Ausnahmen

Argumente sind null

Der angegebene Nachrichtenvertragstyp hat nicht das 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, der Type mit einem MessageContractAttributeKommentar versehen ist.

action
String

Eine Aktionszeichenfolge.

formatterAttribute
XmlSerializerFormatAttribute

Ein XmlSerializerFormatAttribute Wert, der den zu verwendenden Formatierer angibt.

Gibt zurück

Eine TypedMessageConverter Instanz.

Ausnahmen

Argumente sind null

Der angegebene Nachrichtenvertragstyp hat nicht das 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, der Type mit einem MessageContractAttributeKommentar versehen ist.

action
String

Eine Aktionszeichenfolge.

defaultNamespace
String

Ein Namespace.

Gibt zurück

Eine TypedMessageConverter Instanz.

Ausnahmen

Argumente sind null

Der angegebene Nachrichtenvertragstyp hat nicht das 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, der Type mit einem MessageContractAttributeKommentar versehen ist.

action
String

Eine Aktionszeichenfolge.

defaultNamespace
String

Ein Namespace.

formatterAttribute
DataContractFormatAttribute

Ein DataContractFormatAttribute Wert, der den zu verwendenden Formatierer angibt.

Gibt zurück

Eine TypedMessageConverter Instanz.

Ausnahmen

Argumente sind null

Der angegebene Nachrichtenvertragstyp hat nicht das 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, der Type mit einem MessageContractAttributeKommentar versehen ist.

action
String

Eine Aktionszeichenfolge.

defaultNamespace
String

Ein Namespace.

formatterAttribute
XmlSerializerFormatAttribute

Ein XmlSerializerFormatAttribute Wert, der den zu verwendenden Formatierer angibt.

Gibt zurück

Eine TypedMessageConverter Instanz.

Ausnahmen

Argumente sind null

Der angegebene Nachrichtenvertragstyp hat nicht das MessageContractAttribute angewendet.

Gilt für: