SessionStateSection::CustomProvider Property

 

Gets or sets the name of the custom provider from the Providers collection.

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

public:
[ConfigurationPropertyAttribute("customProvider", DefaultValue = "")]
property String^ CustomProvider {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The custom provider name.

The provider is only used when the session-state mode is set to Custom.

The following code example demonstrates how to get the CustomProvider property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: