CmdletExtensions.ExecuteCmdletWithExceptionInPipeline<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>[]