InvocationInfoWrapper constructor

Wraps the PowerShell InvocationInfo object and exposes its properties for logging purposes.

public InvocationInfoWrapper(InvocationInfo invocationInfo)
parameter description
invocationInfo The PowerShell InvocationInfo object to wrap.

Remarks

Initializes a new instance of the InvocationInfoWrapper class with the specified InvocationInfo.

See Also