Compartilhar via


AIProjectsModelFactory.VectorStoreFileError Method

Definition

Initializes a new instance of VectorStoreFileError.

public static Azure.AI.Projects.VectorStoreFileError VectorStoreFileError (Azure.AI.Projects.VectorStoreFileErrorCode code = default, string message = default);
static member VectorStoreFileError : Azure.AI.Projects.VectorStoreFileErrorCode * string -> Azure.AI.Projects.VectorStoreFileError
Public Shared Function VectorStoreFileError (Optional code As VectorStoreFileErrorCode = Nothing, Optional message As String = Nothing) As VectorStoreFileError

Parameters

code
VectorStoreFileErrorCode

One of server_error or rate_limit_exceeded.

message
String

A human-readable description of the error.

Returns

A new VectorStoreFileError instance for mocking.

Applies to