ModuleProvider.Initialize(String) Method
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.
Sets the name of the module provider.
public:
virtual void Initialize(System::String ^ name);
public virtual void Initialize (string name);
abstract member Initialize : string -> unit
override this.Initialize : string -> unit
Public Overridable Sub Initialize (name As String)
Parameters
- name
- String
The name of the module provider.
Examples
The following example calls the Initialize method in the constructor of a derived class.
class DemoModuleProvider : ModuleProvider {
DelegationState _delState;
public DemoModuleProvider()
: base() {
Initialize("Demo Module Friendly Name");
traceModuleProvider();
}
}
Remarks
Call the Initialize method in the constructor of the derived class.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for