DataContractSerializerOperationBehavior Constructor (OperationDescription^, DataContractFormatAttribute^)

 

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

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
DataContractSerializerOperationBehavior(
	OperationDescription^ operation,
	DataContractFormatAttribute^ dataContractFormatAttribute
)

Parameters

operation
Type: System.ServiceModel.Description::OperationDescription^

An OperationDescription that represents the operation.

dataContractFormatAttribute
Type: System.ServiceModel::DataContractFormatAttribute^

A DataContractFormatAttribute that is used to control the serialization process.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Return to top
Show: