FoundryStorageBadRequestException(String, String, Int32, String) Constructor

Definition

Initializes a new instance of the FoundryStorageBadRequestException class.

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

Parameters

message
String

The error message.

param
String

The offending request parameter, if reported by the service.

status
Int32

The HTTP status code (400 by default; 409 for conflicts).

errorCode
String

The service-defined error code, if any.

Applies to