Επεξεργασία

Κοινή χρήση μέσω


OperationDescription(String, ContractDescription) Constructor

Definition

Initializes a new instance of the OperationDescription class with a specified name and contract description.

public:
 OperationDescription(System::String ^ name, System::ServiceModel::Description::ContractDescription ^ declaringContract);
public OperationDescription (string name, System.ServiceModel.Description.ContractDescription declaringContract);
new System.ServiceModel.Description.OperationDescription : string * System.ServiceModel.Description.ContractDescription -> System.ServiceModel.Description.OperationDescription
Public Sub New (name As String, declaringContract As ContractDescription)

Parameters

name
String

The name of the operation description.

declaringContract
ContractDescription

The ContractDescription used to initialize the operation description.

Applies to