Język

HostedFileContent(String) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy HostedFileContent.

public:
 HostedFileContent(System::String ^ fileId);
public HostedFileContent(string fileId);
new Microsoft.Extensions.AI.HostedFileContent : string -> Microsoft.Extensions.AI.HostedFileContent
Public Sub New (fileId As String)

Parametry

fileId
String

Identyfikator pliku hostowanego.

Wyjątki

Parametr fileId ma wartość null.

fileId jest pusty lub składa się całkowicie z białych znaków.

Dotyczy