TimeZoneConversionException 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
TimeZoneConversionException() |
Initializes a new instance of the TimeZoneConversionException class. |
TimeZoneConversionException(String) |
Initializes a new instance of the TimeZoneConversionException class with the specified error message. |
TimeZoneConversionException(String, Exception) |
Initializes a new instance of the TimeZoneConversionException class with the specified error message and a reference to the inner exception that is the cause of this exception. |
TimeZoneConversionException()
Initializes a new instance of the TimeZoneConversionException class.
public:
TimeZoneConversionException();
public TimeZoneConversionException ();
Public Sub New ()
Applies to
TimeZoneConversionException(String)
Initializes a new instance of the TimeZoneConversionException class with the specified error message.
public:
TimeZoneConversionException(System::String ^ message);
public TimeZoneConversionException (string message);
Public Sub New (message As String)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
TimeZoneConversionException(String, Exception)
Initializes a new instance of the TimeZoneConversionException class with the specified error message and a reference to the inner exception that is the cause of this exception.
public:
TimeZoneConversionException(System::String ^ message, Exception ^ innerException);
public TimeZoneConversionException (string message, Exception innerException);
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message that explains the reason for the exception.
- innerException
- Exception
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.