ServiceElement::BehaviorConfiguration Property

 

Gets or sets a string that contains the behavior name of the behavior to be used to instantiate the service.

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

public:
[ConfigurationPropertyAttribute("behaviorConfiguration", DefaultValue = "")]
[StringValidatorAttribute(MinLength = 0)]
property String^ BehaviorConfiguration {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The behavior name of the behavior to be used to instantiate the service. The behavior name must be in scope at the point the service is defined. The default value is an empty string.

.NET Framework
Available since 3.0
Return to top
Show: