FoundryStorageException(Int32, String, String, Exception) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.