OperationDescription(String, ContractDescription) OperationDescription(String, ContractDescription) OperationDescription(String, ContractDescription) OperationDescription(String, ContractDescription) Constructor

Définition

Initialise une nouvelle instance de la classe OperationDescription avec un nom et une description de contrat spécifiés.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)

Paramètres

name
String String String String

Nom de la description de l'opération.The name of the operation description.

declaringContract
ContractDescription ContractDescription ContractDescription ContractDescription

ContractDescription permettant d'initialiser la description de l'opération.The ContractDescription used to initialize the operation description.

S’applique à