Partager via


CmdletProvider.Stop Method

Definition

Called by session state when the provider is being removed.

protected:
 virtual void Stop();
protected:
 virtual void Stop();
 virtual void Stop();
protected virtual void Stop ();
abstract member Stop : unit -> unit
override this.Stop : unit -> unit
Protected Overridable Sub Stop ()

Remarks

A provider should override this method to free up any resources that the provider was using.

The default implementation does nothing.

Applies to