FileAccessException Class
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.
Raised when the identity used was refused by the storage service.
Distinct from FileUrlExpiredException, which is terminal: a pre-authorized URL lapsed, and the SDK does not resolve those bytes another way even when a contentUrl and a Graph credential are both present. This exception means the Graph route was the one that failed, refused by the service after the request was made.
public class FileAccessException : Microsoft.Teams.Apps.Files.FileException
type FileAccessException = class
inherit FileException
Public Class FileAccessException
Inherits FileException
- Inheritance
Constructors
| Name | Description |
|---|---|
| FileAccessException() |
Initializes a new instance of the FileAccessException class. Status is left |
| FileAccessException(Int32, Nullable<FileActor>, String) |
Initializes a new instance of the FileAccessException class with the status Graph returned, the identity the fetch was attempted as, and whatever the service said. |
| FileAccessException(String, Exception) |
Initializes a new instance of the FileAccessException class with a specified error message and inner exception. Status is left |
| FileAccessException(String) |
Initializes a new instance of the FileAccessException class with a specified error message. Status is left |
Properties
| Name | Description |
|---|---|
| Actor |
The identity the fetch was attempted as, when one was selected. |
| Details |
What the storage service itself said, verbatim and truncated, when it said anything. A |
| Status |
Lets callers branch without string-matching the message. |