Language

FileScopeNotSupportedException Class

Definition

Raised when file bytes are requested for a conversation scope whose download path is not implemented.

Only personal (1:1) uploaded files download directly. groupChat files are surfaced by ListAsync(), but fetching their bytes needs Graph; DownloadAsync()/StreamAsync() throws until that path lands.

public class FileScopeNotSupportedException : Microsoft.Teams.Apps.Files.FileException
type FileScopeNotSupportedException = class
    inherit FileException
Public Class FileScopeNotSupportedException
Inherits FileException
Inheritance
FileScopeNotSupportedException

Constructors

Name Description
FileScopeNotSupportedException()

Initializes a new instance of the FileScopeNotSupportedException class.

FileScopeNotSupportedException(ConversationType, String)

Initializes a new instance of the FileScopeNotSupportedException class for the specified scope and error message.

FileScopeNotSupportedException(ConversationType)

Initializes a new instance of the FileScopeNotSupportedException class for the specified scope.

FileScopeNotSupportedException(String, Exception)

Initializes a new instance of the FileScopeNotSupportedException class with a specified error message and inner exception.

FileScopeNotSupportedException(String)

Initializes a new instance of the FileScopeNotSupportedException class with a specified error message.

Properties

Name Description
Scope

The conversation scope that is not yet fetchable.

Applies to