Constructor OperationException
OperationException(string, Exception)
Creates a new instance of OperationException.
Declaration
public OperationException(string message, Exception innerException = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| string | message | A message describing the error.  | 
    
| Exception | innerException | The exception that caused the error, if any.  |