PersonalizationAdministration.Provider 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.
Returns an instance of the default personalization provider.
public:
static property System::Web::UI::WebControls::WebParts::PersonalizationProvider ^ Provider { System::Web::UI::WebControls::WebParts::PersonalizationProvider ^ get(); };
public static System.Web.UI.WebControls.WebParts.PersonalizationProvider Provider { get; }
static member Provider : System.Web.UI.WebControls.WebParts.PersonalizationProvider
Public Shared ReadOnly Property Provider As PersonalizationProvider
Property Value
A PersonalizationProvider of the default provider.
Exceptions
The provider for a personalization provider defined in configuration is not of the correct type.
A configuration exception occurred while attempting to create and initialize an instance of one of the configured personalization providers.
-or-
The default personalization provider defined in configuration could not be found.
Examples
The following code example demonstrates how to use the Provider property.
_provider = PersonalizationAdministration.Provider.Name;
TextBox1.Text = _provider;
Remarks
Use this property to retrieve an instance of the default personalization provider. This is the provider specified in the personalization provider section of the Web.config or Machine.config file.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示