System.ComponentModel.WarningException.WarningException C# (CSharp) Method

WarningException() public method

Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception. FxCop CA1032: Multiple constructors are required to correctly implement a custom exception.
public WarningException ( string message, Exception innerException ) : Microsoft.Win32
message string
innerException System.Exception
return Microsoft.Win32
        public WarningException(string message, Exception innerException)
            : base(message, innerException)
        {
        }

Same methods

WarningException::WarningException ( ) : Microsoft.Win32
WarningException::WarningException ( SerializationInfo info, StreamingContext context ) : Microsoft.Win32
WarningException::WarningException ( string message ) : Microsoft.Win32
WarningException::WarningException ( string message, string helpUrl ) : Microsoft.Win32
WarningException::WarningException ( string message, string helpUrl, string helpTopic ) : Microsoft.Win32