ServiceContractAttributeName Property |
Gets or sets the name for the <portType> element in Web Services Description Language (WSDL).
Namespace: System.ServiceModelAssembly: CSharpXamlForHtml5.System.ServiceModel.dll (in CSharpXamlForHtml5.System.ServiceModel.dll.dll) Version: 1.0.0.0
Syntax public string Name { get; set; }
Return Value
Type:
StringThe default value is the name of the class or interface to which the
ServiceContractAttribute is applied.
Exceptions Exception | Condition |
---|
ArgumentNullException | The value is null. |
ArgumentOutOfRangeException | The value is an empty string. |
See Also