ServiceActivationElement.Service Property

.NET Framework (current version)

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

Gets or sets the name of the service application.

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

[ConfigurationPropertyAttribute("service", Options = ConfigurationPropertyOptions.None)]
[StringValidatorAttribute(MinLength = 0)]
public string Service { get; set; }

Property Value

Type: System.String

The name of a service application.

.NET Framework
Available since 4.0
Return to top