SessionStateSection.CustomProvider Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the name of the custom provider from the Providers collection.
public:
property System::String ^ CustomProvider { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("customProvider", DefaultValue="")]
public string CustomProvider { get; set; }
[<System.Configuration.ConfigurationProperty("customProvider", DefaultValue="")>]
member this.CustomProvider : string with get, set
Public Property CustomProvider As String
Property Value
The custom provider name.
- Attributes
Examples
The following code example demonstrates how to get the CustomProvider property.
// Display the current CustomProvider property value.
Console.WriteLine("CustomProvider: {0}",
sessionStateSection.CustomProvider);
' Display the current CustomProvider property value.
Console.WriteLine("CustomProvider: {0}", sessionStateSection.CustomProvider)
Remarks
The provider is only used when the session-state mode is set to Custom.
Applies to
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา