TypedMessageConverter.Create Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Reprezentuje metodę statyczną zwracającą TypedMessageConverter wystąpienie.
Przeciążenia
| Nazwa | Opis |
|---|---|
| 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)
- Źródło:
- TypedMessageConverter.cs
- Źródło:
- TypedMessageConverter.cs
- Źródło:
- TypedMessageConverter.cs
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 Type adnotacją z elementem MessageContractAttribute.
- action
- String
Ciąg akcji.
Zwraca
TypedMessageConverter Instancja.
Wyjątki
Argumenty to null
Określony typ kontraktu komunikatu nie ma zastosowanego atrybutu MessageContractAttribute
Dotyczy
Create(Type, String, DataContractFormatAttribute)
- Źródło:
- TypedMessageConverter.cs
- Źródło:
- TypedMessageConverter.cs
- Źródło:
- TypedMessageConverter.cs
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 Type adnotacją z elementem MessageContractAttribute.
- action
- String
Ciąg akcji.
- formatterAttribute
- DataContractFormatAttribute
Element DataContractFormatAttribute określający formatator, który ma być używany.
Zwraca
TypedMessageConverter Instancja.
Wyjątki
Argumenty to null
Określony typ kontraktu komunikatu nie ma zastosowanego atrybutu MessageContractAttribute
Dotyczy
Create(Type, String, XmlSerializerFormatAttribute)
- Źródło:
- TypedMessageConverter.cs
- Źródło:
- TypedMessageConverter.cs
- Źródło:
- TypedMessageConverter.cs
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 Type adnotacją z elementem MessageContractAttribute.
- action
- String
Ciąg akcji.
- formatterAttribute
- XmlSerializerFormatAttribute
Element XmlSerializerFormatAttribute określający formatator, który ma być używany.
Zwraca
TypedMessageConverter Instancja.
Wyjątki
Argumenty to null
Określony typ kontraktu komunikatu nie ma zastosowanego atrybutu MessageContractAttribute
Dotyczy
Create(Type, String, String)
- Źródło:
- TypedMessageConverter.cs
- Źródło:
- TypedMessageConverter.cs
- Źródło:
- TypedMessageConverter.cs
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 Type adnotacją z elementem MessageContractAttribute.
- action
- String
Ciąg akcji.
- defaultNamespace
- String
Przestrzeń nazw.
Zwraca
TypedMessageConverter Instancja.
Wyjątki
Argumenty to null
Określony typ kontraktu komunikatu nie ma zastosowanego atrybutu MessageContractAttribute
Dotyczy
Create(Type, String, String, DataContractFormatAttribute)
- Źródło:
- TypedMessageConverter.cs
- Źródło:
- TypedMessageConverter.cs
- Źródło:
- TypedMessageConverter.cs
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 Type adnotacją 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 Instancja.
Wyjątki
Argumenty to null
Określony typ kontraktu komunikatu nie ma zastosowanego atrybutu MessageContractAttribute
Dotyczy
Create(Type, String, String, XmlSerializerFormatAttribute)
- Źródło:
- TypedMessageConverter.cs
- Źródło:
- TypedMessageConverter.cs
- Źródło:
- TypedMessageConverter.cs
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 Type adnotacją 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 Instancja.
Wyjątki
Argumenty to null
Określony typ kontraktu komunikatu nie ma zastosowanego atrybutu MessageContractAttribute