AutodiscoverLocalException Constructors
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.
Overloads
AutodiscoverLocalException() |
Initializes a new instance of the AutodiscoverLocalException class. |
AutodiscoverLocalException(String) |
Initializes a new instance of the AutodiscoverLocalException class with its message string set to the given message. |
AutodiscoverLocalException(String, Exception) |
Initializes a new instance of the AutodiscoverLocalException class with a reference to the inner exception that is the cause of this exception. |
AutodiscoverLocalException()
Initializes a new instance of the AutodiscoverLocalException class.
public:
AutodiscoverLocalException();
public AutodiscoverLocalException ();
Public Sub New ()
Remarks
The default constructor initializes any fields to their default values.
Applies to
AutodiscoverLocalException(String)
Initializes a new instance of the AutodiscoverLocalException class with its message string set to the given message.
public:
AutodiscoverLocalException(System::String ^ message);
public AutodiscoverLocalException (string message);
Public Sub New (message As String)
Parameters
- message
- String
A string that indicates the reason that this exception was thrown.
Applies to
AutodiscoverLocalException(String, Exception)
Initializes a new instance of the AutodiscoverLocalException class with a reference to the inner exception that is the cause of this exception.
public:
AutodiscoverLocalException(System::String ^ message, Exception ^ innerException);
public AutodiscoverLocalException (string message, Exception innerException);
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
A string that indicates the reason that this exception was thrown.
- innerException
- Exception
The exception that is the cause of the current exception.