DscClassCache.Initialize Method

Definition

Overloads

Initialize()

Initialize the class cache with the default classes in $ENV:SystemDirectory\Configuration.

Initialize(Collection<Exception>, List<String>)

Initialize the class cache with the default classes in $ENV:SystemDirectory\Configuration.

Initialize()

Initialize the class cache with the default classes in $ENV:SystemDirectory\Configuration.

public:
 static void Initialize();
public:
 static void Initialize();
 static void Initialize();
public static void Initialize ();
static member Initialize : unit -> unit
Public Shared Sub Initialize ()

Applies to

Initialize(Collection<Exception>, List<String>)

Initialize the class cache with the default classes in $ENV:SystemDirectory\Configuration.

public:
 static void Initialize(System::Collections::ObjectModel::Collection<Exception ^> ^ errors, System::Collections::Generic::List<System::String ^> ^ modulePathList);
public static void Initialize (System.Collections.ObjectModel.Collection<Exception> errors, System.Collections.Generic.List<string> modulePathList);
static member Initialize : System.Collections.ObjectModel.Collection<Exception> * System.Collections.Generic.List<string> -> unit
Public Shared Sub Initialize (errors As Collection(Of Exception), modulePathList As List(Of String))

Parameters

errors
Collection<Exception>

Collection of any errors encountered during initialization.

modulePathList
List<String>

List of module path from where DSC PS modules will be loaded.

Applies to