ResourceNotFoundException Class
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.
Exception thrown when a requested resource (e.g., a response ID) is not found. Maps to HTTP 404 Not Found.
public class ResourceNotFoundException : Exception
type ResourceNotFoundException = class
inherit Exception
Public Class ResourceNotFoundException
Inherits Exception
- Inheritance
-
ResourceNotFoundException
Constructors
| Name | Description |
|---|---|
| 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) |
Initializes a new instance of ResourceNotFoundException with a message. |
Properties
| Name | Description |
|---|---|
| Code |
Gets the error code identifying the kind of failure, if applicable. |
| Param |
Gets the name of the parameter that identifies the missing resource, if applicable. |