Edita

Comparteix a través de


DataContractSerializerOperationBehavior Constructors

Definition

Initializes a new instance of the DataContractSerializerOperationBehavior class.

Overloads

DataContractSerializerOperationBehavior(OperationDescription)

Initializes a new instance of the DataContractSerializerOperationBehavior class with the specified operation description.

DataContractSerializerOperationBehavior(OperationDescription, DataContractFormatAttribute)

Initializes a new instance of the DataContractSerializerOperationBehavior class with the specified operation description and data contract format.

DataContractSerializerOperationBehavior(OperationDescription)

Source:
DataContractSerializerOperationBehavior.cs
Source:
DataContractSerializerOperationBehavior.cs
Source:
DataContractSerializerOperationBehavior.cs

Initializes a new instance of the DataContractSerializerOperationBehavior class with the specified operation description.

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

Parameters

operation
OperationDescription

An OperationDescription that represents the operation.

Applies to

DataContractSerializerOperationBehavior(OperationDescription, DataContractFormatAttribute)

Source:
DataContractSerializerOperationBehavior.cs
Source:
DataContractSerializerOperationBehavior.cs
Source:
DataContractSerializerOperationBehavior.cs

Initializes a new instance of the DataContractSerializerOperationBehavior class with the specified operation description and data contract format.

public:
 DataContractSerializerOperationBehavior(System::ServiceModel::Description::OperationDescription ^ operation, System::ServiceModel::DataContractFormatAttribute ^ dataContractFormatAttribute);
public DataContractSerializerOperationBehavior (System.ServiceModel.Description.OperationDescription operation, System.ServiceModel.DataContractFormatAttribute dataContractFormatAttribute);
new System.ServiceModel.Description.DataContractSerializerOperationBehavior : System.ServiceModel.Description.OperationDescription * System.ServiceModel.DataContractFormatAttribute -> System.ServiceModel.Description.DataContractSerializerOperationBehavior
Public Sub New (operation As OperationDescription, dataContractFormatAttribute As DataContractFormatAttribute)

Parameters

operation
OperationDescription

An OperationDescription that represents the operation.

dataContractFormatAttribute
DataContractFormatAttribute

A DataContractFormatAttribute that is used to control the serialization process.

Applies to