共用方式為


XmlSerializerOperationBehavior 建構函式

定義

初始化 XmlSerializerOperationBehavior 類別的新執行個體。

多載

XmlSerializerOperationBehavior(OperationDescription)

使用特定的作業,初始化 XmlSerializerOperationBehavior 類別的新執行個體。

XmlSerializerOperationBehavior(OperationDescription, XmlSerializerFormatAttribute)

初始化 XmlSerializerOperationBehavior 類別的新執行個體。

XmlSerializerOperationBehavior(OperationDescription)

來源:
XmlSerializerOperationBehavior.cs
來源:
XmlSerializerOperationBehavior.cs
來源:
XmlSerializerOperationBehavior.cs

使用特定的作業,初始化 XmlSerializerOperationBehavior 類別的新執行個體。

public:
 XmlSerializerOperationBehavior(System::ServiceModel::Description::OperationDescription ^ operation);
public XmlSerializerOperationBehavior (System.ServiceModel.Description.OperationDescription operation);
new System.ServiceModel.Description.XmlSerializerOperationBehavior : System.ServiceModel.Description.OperationDescription -> System.ServiceModel.Description.XmlSerializerOperationBehavior
Public Sub New (operation As OperationDescription)

參數

operation
OperationDescription

要匯出或序列化的 OperationDescription

適用於

XmlSerializerOperationBehavior(OperationDescription, XmlSerializerFormatAttribute)

來源:
XmlSerializerOperationBehavior.cs
來源:
XmlSerializerOperationBehavior.cs
來源:
XmlSerializerOperationBehavior.cs

初始化 XmlSerializerOperationBehavior 類別的新執行個體。

public:
 XmlSerializerOperationBehavior(System::ServiceModel::Description::OperationDescription ^ operation, System::ServiceModel::XmlSerializerFormatAttribute ^ attribute);
public XmlSerializerOperationBehavior (System.ServiceModel.Description.OperationDescription operation, System.ServiceModel.XmlSerializerFormatAttribute attribute);
new System.ServiceModel.Description.XmlSerializerOperationBehavior : System.ServiceModel.Description.OperationDescription * System.ServiceModel.XmlSerializerFormatAttribute -> System.ServiceModel.Description.XmlSerializerOperationBehavior
Public Sub New (operation As OperationDescription, attribute As XmlSerializerFormatAttribute)

參數

operation
OperationDescription

要匯出或序列化的 OperationDescription

attribute
XmlSerializerFormatAttribute

用於保留 SOAP use 和格式選項的 XmlSerializerFormatAttribute

適用於