共用方式為


TypedMessageConverter.Create 方法

定義

表示傳回 TypedMessageConverter 執行個體的靜態方法。

多載

Create(Type, String)

表示傳回 TypedMessageConverter 執行個體的靜態方法。

Create(Type, String, DataContractFormatAttribute)

表示傳回 TypedMessageConverter 執行個體的靜態方法。

Create(Type, String, XmlSerializerFormatAttribute)

表示傳回 TypedMessageConverter 執行個體的靜態方法。

Create(Type, String, String)

表示傳回 TypedMessageConverter 執行個體的靜態方法。

Create(Type, String, String, DataContractFormatAttribute)

表示傳回 TypedMessageConverter 執行個體的靜態方法。

Create(Type, String, String, XmlSerializerFormatAttribute)

表示傳回 TypedMessageConverter 執行個體的靜態方法。

Create(Type, String)

來源:
TypedMessageConverter.cs
來源:
TypedMessageConverter.cs
來源:
TypedMessageConverter.cs

表示傳回 TypedMessageConverter 執行個體的靜態方法。

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

參數

messageContract
Type

Type 標註的 MessageContractAttribute 的訊息合約型別。

action
String

動作字串。

傳回

TypedMessageConverter 執行個體。

例外狀況

引數為 null

指定的訊息合約型別並沒有套用 MessageContractAttribute

適用於

Create(Type, String, DataContractFormatAttribute)

來源:
TypedMessageConverter.cs
來源:
TypedMessageConverter.cs
來源:
TypedMessageConverter.cs

表示傳回 TypedMessageConverter 執行個體的靜態方法。

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

參數

messageContract
Type

Type 標註的 MessageContractAttribute 的訊息合約型別。

action
String

動作字串。

formatterAttribute
DataContractFormatAttribute

指定要使用之格式器的 DataContractFormatAttribute

傳回

TypedMessageConverter 執行個體。

例外狀況

引數為 null

指定的訊息合約型別並沒有套用 MessageContractAttribute

適用於

Create(Type, String, XmlSerializerFormatAttribute)

來源:
TypedMessageConverter.cs
來源:
TypedMessageConverter.cs
來源:
TypedMessageConverter.cs

表示傳回 TypedMessageConverter 執行個體的靜態方法。

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

參數

messageContract
Type

Type 標註的 MessageContractAttribute 的訊息合約型別。

action
String

動作字串。

formatterAttribute
XmlSerializerFormatAttribute

指定要使用之格式器的 XmlSerializerFormatAttribute

傳回

TypedMessageConverter 執行個體。

例外狀況

引數為 null

指定的訊息合約型別並沒有套用 MessageContractAttribute

適用於

Create(Type, String, String)

來源:
TypedMessageConverter.cs
來源:
TypedMessageConverter.cs
來源:
TypedMessageConverter.cs

表示傳回 TypedMessageConverter 執行個體的靜態方法。

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

參數

messageContract
Type

Type 標註的 MessageContractAttribute 的訊息合約型別。

action
String

動作字串。

defaultNamespace
String

命名空間。

傳回

TypedMessageConverter 執行個體。

例外狀況

引數為 null

指定的訊息合約型別並沒有套用 MessageContractAttribute

適用於

Create(Type, String, String, DataContractFormatAttribute)

來源:
TypedMessageConverter.cs
來源:
TypedMessageConverter.cs
來源:
TypedMessageConverter.cs

表示傳回 TypedMessageConverter 執行個體的靜態方法。

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

參數

messageContract
Type

Type 標註的 MessageContractAttribute 的訊息合約型別。

action
String

動作字串。

defaultNamespace
String

命名空間。

formatterAttribute
DataContractFormatAttribute

指定要使用之格式器的 DataContractFormatAttribute

傳回

TypedMessageConverter 執行個體。

例外狀況

引數為 null

指定的訊息合約型別並沒有套用 MessageContractAttribute

適用於

Create(Type, String, String, XmlSerializerFormatAttribute)

來源:
TypedMessageConverter.cs
來源:
TypedMessageConverter.cs
來源:
TypedMessageConverter.cs

表示傳回 TypedMessageConverter 執行個體的靜態方法。

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

參數

messageContract
Type

Type 標註的 MessageContractAttribute 的訊息合約型別。

action
String

動作字串。

defaultNamespace
String

命名空間。

formatterAttribute
XmlSerializerFormatAttribute

指定要使用之格式器的 XmlSerializerFormatAttribute

傳回

TypedMessageConverter 執行個體。

例外狀況

引數為 null

指定的訊息合約型別並沒有套用 MessageContractAttribute

適用於