Language

FoundryStorageException(Int32, String, String, Exception) Constructor

Definition

Initializes a new instance of the FoundryStorageException class.

public FoundryStorageException(int status, string message, string? errorCode = default, Exception? innerException = default);
new Azure.AI.AgentServer.Core.Storage.FoundryStorageException : int * string * string * Exception -> Azure.AI.AgentServer.Core.Storage.FoundryStorageException
Public Sub New (status As Integer, message As String, Optional errorCode As String = Nothing, Optional innerException As Exception = Nothing)

Parameters

status
Int32

The HTTP status code returned by the storage service.

message
String

The error message.

errorCode
String

The service-defined error code, if any.

innerException
Exception

The inner exception, if any.

Applies to