你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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