Dela via


CmdletExtensions.ExecuteCmdletWithExceptionInPipeline<T> Method

Definition

public static void ExecuteCmdletWithExceptionInPipeline<T> (this System.Management.Automation.PSCmdlet cmdlet, string name, Exception exception, params System.Collections.Generic.KeyValuePair<string,object>[] cmdletParameters);
static member ExecuteCmdletWithExceptionInPipeline : System.Management.Automation.PSCmdlet * string * Exception * System.Collections.Generic.KeyValuePair<string, obj>[] -> unit
<Extension()>
Public Sub ExecuteCmdletWithExceptionInPipeline(Of T) (cmdlet As PSCmdlet, name As String, exception As Exception, ParamArray cmdletParameters As KeyValuePair(Of String, Object)())

Type Parameters

T

Parameters

cmdlet
PSCmdlet
name
String
exception
Exception
cmdletParameters
KeyValuePair<String,Object>[]

Applies to