Partilhar via


SubsystemManager.UnregisterSubsystem Method

Definition

Overloads

UnregisterSubsystem(SubsystemKind, Guid)

Subsystem unregistration. Throw 'InvalidOperationException' when called for subsystems that cannot be unregistered.

UnregisterSubsystem<TConcreteSubsystem>(Guid)

Subsystem unregistration. Throw 'InvalidOperationException' when called for subsystems that cannot be unregistered.

UnregisterSubsystem(SubsystemKind, Guid)

Subsystem unregistration. Throw 'InvalidOperationException' when called for subsystems that cannot be unregistered.

public static void UnregisterSubsystem (System.Management.Automation.Subsystem.SubsystemKind kind, Guid id);
static member UnregisterSubsystem : System.Management.Automation.Subsystem.SubsystemKind * Guid -> unit
Public Shared Sub UnregisterSubsystem (kind As SubsystemKind, id As Guid)

Parameters

kind
SubsystemKind

The target SubsystemKind of the un-registration.

id
Guid

The Id of the implementation to be unregistered.

Applies to

UnregisterSubsystem<TConcreteSubsystem>(Guid)

Subsystem unregistration. Throw 'InvalidOperationException' when called for subsystems that cannot be unregistered.

public static void UnregisterSubsystem<TConcreteSubsystem> (Guid id) where TConcreteSubsystem : class, System.Management.Automation.Subsystem.ISubsystem;
static member UnregisterSubsystem : Guid -> unit (requires 'ConcreteSubsystem : null and 'ConcreteSubsystem :> System.Management.Automation.Subsystem.ISubsystem)
Public Shared Sub UnregisterSubsystem(Of TConcreteSubsystem As {Class, ISubsystem}) (id As Guid)

Type Parameters

TConcreteSubsystem

The base type of the target concrete subsystem of the un-registration.

Parameters

id
Guid

The Id of the implementation to be unregistered.

Applies to