Click or drag to resize
ServiceContractAttributeName Property
Gets or sets the name for the <portType> element in Web Services Description Language (WSDL).

Namespace: System.ServiceModel
Assembly: CSharpXamlForHtml5.System.ServiceModel.dll (in CSharpXamlForHtml5.System.ServiceModel.dll.dll) Version: 1.0.0.0
Syntax
C#
public string Name { get; set; }

Return Value

Type: String
The default value is the name of the class or interface to which the ServiceContractAttribute is applied.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe value is null.
ArgumentOutOfRangeExceptionThe value is an empty string.
See Also