Language

FileCredentialException Constructors

Definition

Overloads

Name Description
FileCredentialException()

Initializes a new instance of the FileCredentialException class. Actor is left null.

FileCredentialException(String)

Initializes a new instance of the FileCredentialException class with a specified error message. Actor is left null.

FileCredentialException(Nullable<FileActor>, String)

Initializes a new instance of the FileCredentialException class with the identity a credential was being resolved for and why acquisition failed.

FileCredentialException(String, Exception)

Initializes a new instance of the FileCredentialException class with a specified error message and inner exception. Actor is left null.

FileCredentialException()

Initializes a new instance of the FileCredentialException class. Actor is left null.

public FileCredentialException();
Public Sub New ()

Applies to

FileCredentialException(String)

Initializes a new instance of the FileCredentialException class with a specified error message. Actor is left null.

public FileCredentialException(string message);
new Microsoft.Teams.Apps.Files.FileCredentialException : string -> Microsoft.Teams.Apps.Files.FileCredentialException
Public Sub New (message As String)

Parameters

message
String

The error message that describes the reason for the exception.

Applies to

FileCredentialException(Nullable<FileActor>, String)

Initializes a new instance of the FileCredentialException class with the identity a credential was being resolved for and why acquisition failed.

public FileCredentialException(Microsoft.Teams.Apps.Files.FileActor? actor, string? cause = default);
new Microsoft.Teams.Apps.Files.FileCredentialException : Nullable<Microsoft.Teams.Apps.Files.FileActor> * string -> Microsoft.Teams.Apps.Files.FileCredentialException
Public Sub New (actor As Nullable(Of FileActor), Optional cause As String = Nothing)

Parameters

actor
Nullable<FileActor>

The identity a credential was being resolved for, when one had been selected.

cause
String

What went wrong while acquiring the token, when the attempt failed.

Applies to

FileCredentialException(String, Exception)

Initializes a new instance of the FileCredentialException class with a specified error message and inner exception. Actor is left null.

public FileCredentialException(string message, Exception innerException);
new Microsoft.Teams.Apps.Files.FileCredentialException : string * Exception -> Microsoft.Teams.Apps.Files.FileCredentialException
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.

Applies to