DataContractSerializerOperationBehavior Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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)
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.