TypedMessageConverter.Create Metodo

Definizione

Rappresenta un metodo statico che restituisce un'istanza TypedMessageConverter di .

Overload

Nome Descrizione
Create(Type, String)

Rappresenta un metodo statico che restituisce un'istanza TypedMessageConverter di .

Create(Type, String, DataContractFormatAttribute)

Rappresenta un metodo statico che restituisce un'istanza TypedMessageConverter di .

Create(Type, String, XmlSerializerFormatAttribute)

Rappresenta un metodo statico che restituisce un'istanza TypedMessageConverter di .

Create(Type, String, String)

Rappresenta un metodo statico che restituisce un'istanza TypedMessageConverter di .

Create(Type, String, String, DataContractFormatAttribute)

Rappresenta un metodo statico che restituisce un'istanza TypedMessageConverter di .

Create(Type, String, String, XmlSerializerFormatAttribute)

Rappresenta un metodo statico che restituisce un'istanza TypedMessageConverter di .

Create(Type, String)

Origine:
TypedMessageConverter.cs
Origine:
TypedMessageConverter.cs
Origine:
TypedMessageConverter.cs

Rappresenta un metodo statico che restituisce un'istanza TypedMessageConverter di .

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

Parametri

messageContract
Type

Tipo di contratto di messaggio annotato Type con un oggetto MessageContractAttribute.

action
String

Stringa di azione.

Valori restituiti

Un'istanza TypedMessageConverter.

Eccezioni

Gli argomenti sono null

Il tipo di contratto messaggio specificato non dispone dell'attributo MessageContractAttribute applicato

Si applica a

Create(Type, String, DataContractFormatAttribute)

Origine:
TypedMessageConverter.cs
Origine:
TypedMessageConverter.cs
Origine:
TypedMessageConverter.cs

Rappresenta un metodo statico che restituisce un'istanza TypedMessageConverter di .

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

Parametri

messageContract
Type

Tipo di contratto di messaggio annotato Type con un oggetto MessageContractAttribute.

action
String

Stringa di azione.

formatterAttribute
DataContractFormatAttribute

Oggetto DataContractFormatAttribute che specifica il formattatore da utilizzare.

Valori restituiti

Un'istanza TypedMessageConverter.

Eccezioni

Gli argomenti sono null

Il tipo di contratto messaggio specificato non dispone dell'attributo MessageContractAttribute applicato

Si applica a

Create(Type, String, XmlSerializerFormatAttribute)

Origine:
TypedMessageConverter.cs
Origine:
TypedMessageConverter.cs
Origine:
TypedMessageConverter.cs

Rappresenta un metodo statico che restituisce un'istanza TypedMessageConverter di .

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

Parametri

messageContract
Type

Tipo di contratto di messaggio annotato Type con un oggetto MessageContractAttribute.

action
String

Stringa di azione.

formatterAttribute
XmlSerializerFormatAttribute

Oggetto XmlSerializerFormatAttribute che specifica il formattatore da utilizzare.

Valori restituiti

Un'istanza TypedMessageConverter.

Eccezioni

Gli argomenti sono null

Il tipo di contratto messaggio specificato non dispone dell'attributo MessageContractAttribute applicato

Si applica a

Create(Type, String, String)

Origine:
TypedMessageConverter.cs
Origine:
TypedMessageConverter.cs
Origine:
TypedMessageConverter.cs

Rappresenta un metodo statico che restituisce un'istanza TypedMessageConverter di .

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

Parametri

messageContract
Type

Tipo di contratto di messaggio annotato Type con un oggetto MessageContractAttribute.

action
String

Stringa di azione.

defaultNamespace
String

Uno spazio dei nomi (namespace).

Valori restituiti

Un'istanza TypedMessageConverter.

Eccezioni

Gli argomenti sono null

Il tipo di contratto messaggio specificato non dispone dell'attributo MessageContractAttribute applicato

Si applica a

Create(Type, String, String, DataContractFormatAttribute)

Origine:
TypedMessageConverter.cs
Origine:
TypedMessageConverter.cs
Origine:
TypedMessageConverter.cs

Rappresenta un metodo statico che restituisce un'istanza TypedMessageConverter di .

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

Parametri

messageContract
Type

Tipo di contratto di messaggio annotato Type con un oggetto MessageContractAttribute.

action
String

Stringa di azione.

defaultNamespace
String

Uno spazio dei nomi (namespace).

formatterAttribute
DataContractFormatAttribute

Oggetto DataContractFormatAttribute che specifica il formattatore da utilizzare.

Valori restituiti

Un'istanza TypedMessageConverter.

Eccezioni

Gli argomenti sono null

Il tipo di contratto messaggio specificato non dispone dell'attributo MessageContractAttribute applicato

Si applica a

Create(Type, String, String, XmlSerializerFormatAttribute)

Origine:
TypedMessageConverter.cs
Origine:
TypedMessageConverter.cs
Origine:
TypedMessageConverter.cs

Rappresenta un metodo statico che restituisce un'istanza TypedMessageConverter di .

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

Parametri

messageContract
Type

Tipo di contratto di messaggio annotato Type con un oggetto MessageContractAttribute.

action
String

Stringa di azione.

defaultNamespace
String

Uno spazio dei nomi (namespace).

formatterAttribute
XmlSerializerFormatAttribute

Oggetto XmlSerializerFormatAttribute che specifica il formattatore da utilizzare.

Valori restituiti

Un'istanza TypedMessageConverter.

Eccezioni

Gli argomenti sono null

Il tipo di contratto messaggio specificato non dispone dell'attributo MessageContractAttribute applicato

Si applica a