Share via


ModuleProvider.Initialize(String) Method

Definition

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