OperationDescription(String, ContractDescription) Constructor
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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.