NotFoundException Constructors

Definition

Initializes a new instance of the NotFoundException class.

Overloads

NotFoundException()

Initializes a new instance of the NotFoundException class with the default property values.

NotFoundException(String)

Initializes a new instance of the NotFoundException class with the specified name for the exception.

NotFoundException(String, String)

Initializes a new instance of the NotFoundException class with the specified name and type for the exception.

NotFoundException()

Initializes a new instance of the NotFoundException class with the default property values.

public:
 NotFoundException();
public NotFoundException ();
Public Sub New ()

Applies to

NotFoundException(String)

Initializes a new instance of the NotFoundException class with the specified name for the exception.

public:
 NotFoundException(System::String ^ name);
public NotFoundException (string name);
new Microsoft.SqlServer.Management.NotFoundException : string -> Microsoft.SqlServer.Management.NotFoundException
Public Sub New (name As String)

Parameters

name
String

A string that represents the name of the exception.

Applies to

NotFoundException(String, String)

Initializes a new instance of the NotFoundException class with the specified name and type for the exception.

public:
 NotFoundException(System::String ^ name, System::String ^ type);
public NotFoundException (string name, string type);
new Microsoft.SqlServer.Management.NotFoundException : string * string -> Microsoft.SqlServer.Management.NotFoundException
Public Sub New (name As String, type As String)

Parameters

name
String

A string that represents the name of the exception

type
String

A string that represent the type of the exception.

Applies to