ResourceNotFoundException Constructors

Definition

Overloads

Name Description
ResourceNotFoundException(String)

Initializes a new instance of ResourceNotFoundException with a message.

ResourceNotFoundException(String, Exception)

Initializes a new instance of ResourceNotFoundException with a message and an inner exception.

ResourceNotFoundException(String, String, String)

Initializes a new instance of ResourceNotFoundException with a message, an error code, and the name of the parameter that identifies the missing resource.

ResourceNotFoundException(String)

Source:
ResourceNotFoundException.cs

Initializes a new instance of ResourceNotFoundException with a message.

public ResourceNotFoundException(string message);
new Azure.AI.AgentServer.Responses.ResourceNotFoundException : string -> Azure.AI.AgentServer.Responses.ResourceNotFoundException
Public Sub New (message As String)

Parameters

message
String

A description of the missing resource.

Applies to

ResourceNotFoundException(String, Exception)

Source:
ResourceNotFoundException.cs

Initializes a new instance of ResourceNotFoundException with a message and an inner exception.

public ResourceNotFoundException(string message, Exception innerException);
new Azure.AI.AgentServer.Responses.ResourceNotFoundException : string * Exception -> Azure.AI.AgentServer.Responses.ResourceNotFoundException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

A description of the missing resource.

innerException
Exception

The exception that caused this error.

Applies to

ResourceNotFoundException(String, String, String)

Source:
ResourceNotFoundException.cs

Initializes a new instance of ResourceNotFoundException with a message, an error code, and the name of the parameter that identifies the missing resource.

public ResourceNotFoundException(string message, string? code, string? param);
new Azure.AI.AgentServer.Responses.ResourceNotFoundException : string * string * string -> Azure.AI.AgentServer.Responses.ResourceNotFoundException
Public Sub New (message As String, code As String, param As String)

Parameters

message
String

A description of the missing resource.

code
String

An error code identifying the kind of failure, or null.

param
String

The name of the parameter that identifies the missing resource, or null.

Applies to