internal CmdletProviderInvocationException(System.Management.Automation.ProviderInvocationException innerException, InvocationInfo myInvocation) : base(GetInnerException(innerException), myInvocation) { if (innerException == null) { throw new ArgumentNullException("innerException"); } this._providerInvocationException = innerException; }
public CmdletProviderInvocationException(string message, Exception innerException) : base(message, innerException) { this._providerInvocationException = innerException as System.Management.Automation.ProviderInvocationException; }
protected CmdletProviderInvocationException(SerializationInfo info, StreamingContext context) : base(info, context) { this._providerInvocationException = base.InnerException as System.Management.Automation.ProviderInvocationException; }