FileUrlExpiredException 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 |
|---|---|
| FileUrlExpiredException() |
Initializes a new instance of the FileUrlExpiredException class. Reason is left |
| FileUrlExpiredException(FileUrlExpiredReason) |
Initializes a new instance of the FileUrlExpiredException class with the specified reason and a default message. |
| FileUrlExpiredException(String) |
Initializes a new instance of the FileUrlExpiredException class with a specified error message. Reason is left |
| FileUrlExpiredException(FileUrlExpiredReason, String) |
Initializes a new instance of the FileUrlExpiredException class with the specified reason and error message. |
| FileUrlExpiredException(String, Exception) |
Initializes a new instance of the FileUrlExpiredException class with a specified error message and inner exception. Reason is left |
FileUrlExpiredException()
Initializes a new instance of the FileUrlExpiredException class. Reason is left null.
public FileUrlExpiredException();
Public Sub New ()
Applies to
FileUrlExpiredException(FileUrlExpiredReason)
Initializes a new instance of the FileUrlExpiredException class with the specified reason and a default message.
public FileUrlExpiredException(Microsoft.Teams.Apps.Files.FileUrlExpiredReason reason);
new Microsoft.Teams.Apps.Files.FileUrlExpiredException : Microsoft.Teams.Apps.Files.FileUrlExpiredReason -> Microsoft.Teams.Apps.Files.FileUrlExpiredException
Public Sub New (reason As FileUrlExpiredReason)
Parameters
- reason
- FileUrlExpiredReason
The reason the download URL was found expired.
Applies to
FileUrlExpiredException(String)
Initializes a new instance of the FileUrlExpiredException class with a specified error message. Reason is left null.
public FileUrlExpiredException(string message);
new Microsoft.Teams.Apps.Files.FileUrlExpiredException : string -> Microsoft.Teams.Apps.Files.FileUrlExpiredException
Public Sub New (message As String)
Parameters
- message
- String
The error message that describes the reason for the exception.
Applies to
FileUrlExpiredException(FileUrlExpiredReason, String)
Initializes a new instance of the FileUrlExpiredException class with the specified reason and error message.
public FileUrlExpiredException(Microsoft.Teams.Apps.Files.FileUrlExpiredReason reason, string message);
new Microsoft.Teams.Apps.Files.FileUrlExpiredException : Microsoft.Teams.Apps.Files.FileUrlExpiredReason * string -> Microsoft.Teams.Apps.Files.FileUrlExpiredException
Public Sub New (reason As FileUrlExpiredReason, message As String)
Parameters
- reason
- FileUrlExpiredReason
The reason the download URL was found expired.
- message
- String
The error message that describes the reason for the exception.
Applies to
FileUrlExpiredException(String, Exception)
Initializes a new instance of the FileUrlExpiredException class with a specified error message and inner exception. Reason is left null.
public FileUrlExpiredException(string message, Exception innerException);
new Microsoft.Teams.Apps.Files.FileUrlExpiredException : string * Exception -> Microsoft.Teams.Apps.Files.FileUrlExpiredException
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.