FileException 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
| Name | Description |
|---|---|
| FileException() |
Initializes a new instance of the FileException class. |
| FileException(String) |
Initializes a new instance of the FileException class with a specified error message. |
| FileException(String, Exception) |
Initializes a new instance of the FileException class with a specified error message and inner exception. |
FileException()
Initializes a new instance of the FileException class.
public FileException();
Public Sub New ()
Applies to
FileException(String)
Initializes a new instance of the FileException class with a specified error message.
public FileException(string message);
new Microsoft.Teams.Apps.Files.FileException : string -> Microsoft.Teams.Apps.Files.FileException
Public Sub New (message As String)
Parameters
- message
- String
The error message that describes the reason for the exception.
Applies to
FileException(String, Exception)
Initializes a new instance of the FileException class with a specified error message and inner exception.
public FileException(string message, Exception innerException);
new Microsoft.Teams.Apps.Files.FileException : string * Exception -> Microsoft.Teams.Apps.Files.FileException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message that describes the reason for the exception.
- innerException
- Exception
The underlying exception that caused this exception.