IdNotFoundException Constructors
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.
Overloads
IdNotFoundException() |
Initializes a new instance of the IdNotFoundException class. |
IdNotFoundException(String) |
Initializes a new instance of the IdNotFoundException class by using the provided message. |
IdNotFoundException(SerializationInfo, StreamingContext) |
Initializes a new instance of the IdNotFoundException class by using the provided information and context. |
IdNotFoundException(String, Exception) |
Initializes a new instance of the IdNotFoundException class by using the provided message and inner exception. |
IdNotFoundException()
Initializes a new instance of the IdNotFoundException class.
public:
IdNotFoundException();
public IdNotFoundException ();
Public Sub New ()
Applies to
IdNotFoundException(String)
Initializes a new instance of the IdNotFoundException class by using the provided message.
public:
IdNotFoundException(System::String ^ msg);
public IdNotFoundException (string msg);
new Microsoft.VisualStudio.TestTools.Exceptions.IdNotFoundException : string -> Microsoft.VisualStudio.TestTools.Exceptions.IdNotFoundException
Public Sub New (msg As String)
Parameters
- msg
- String
Message that describes the exception.
Applies to
IdNotFoundException(SerializationInfo, StreamingContext)
Initializes a new instance of the IdNotFoundException class by using the provided information and context.
protected:
IdNotFoundException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected IdNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.TestTools.Exceptions.IdNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TestTools.Exceptions.IdNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
Information about the exception.
- context
- StreamingContext
The source and the destination of the exception.
Applies to
IdNotFoundException(String, Exception)
Initializes a new instance of the IdNotFoundException class by using the provided message and inner exception.
public:
IdNotFoundException(System::String ^ msg, Exception ^ inner);
public IdNotFoundException (string msg, Exception inner);
new Microsoft.VisualStudio.TestTools.Exceptions.IdNotFoundException : string * Exception -> Microsoft.VisualStudio.TestTools.Exceptions.IdNotFoundException
Public Sub New (msg As String, inner As Exception)
Parameters
- msg
- String
Message that describes the exception.
- inner
- Exception
Exception that caused the current exception.