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.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre