DataContractSerializerOperationBehavior Constructor (OperationDescription^, DataContractFormatAttribute^)
.NET Framework (current version)
Initializes a new instance of the DataContractSerializerOperationBehavior class with the specified operation description and data contract format.
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
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Show: