ServiceBehaviorAttribute.Name Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the value of the name attribute in the service element in Web Services Description Language (WSDL).

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public string Name { get; set; }

Property Value

Type: System.String

The value of the name attribute in the <wsdl:service> element when exported.

.NET Framework
Available since 3.0
Return to top