Share via


PropertyDescriptorNotFoundException Constructors

Definition

Overloads

PropertyDescriptorNotFoundException()

Initializes a new instance of the PropertyDescriptorNotFoundException class.

PropertyDescriptorNotFoundException(String)

Initializes a new instance of the PropertyDescriptorNotFoundException class with a specified error message.

PropertyDescriptorNotFoundException(SerializationInfo, StreamingContext)

Constructor for serialization purposes.

PropertyDescriptorNotFoundException(String, Exception)

Initializes a new instance of the PropertyDescriptorNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.

PropertyDescriptorNotFoundException()

Initializes a new instance of the PropertyDescriptorNotFoundException class.

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

Applies to

PropertyDescriptorNotFoundException(String)

Initializes a new instance of the PropertyDescriptorNotFoundException class with a specified error message.

public:
 PropertyDescriptorNotFoundException(System::String ^ message);
public PropertyDescriptorNotFoundException (string message);
new Microsoft.VisualStudio.Modeling.Design.PropertyDescriptorNotFoundException : string -> Microsoft.VisualStudio.Modeling.Design.PropertyDescriptorNotFoundException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

PropertyDescriptorNotFoundException(SerializationInfo, StreamingContext)

Constructor for serialization purposes.

protected:
 PropertyDescriptorNotFoundException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PropertyDescriptorNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.Modeling.Design.PropertyDescriptorNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.Modeling.Design.PropertyDescriptorNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Applies to

PropertyDescriptorNotFoundException(String, Exception)

Initializes a new instance of the PropertyDescriptorNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public:
 PropertyDescriptorNotFoundException(System::String ^ message, Exception ^ innerException);
public PropertyDescriptorNotFoundException (string message, Exception innerException);
new Microsoft.VisualStudio.Modeling.Design.PropertyDescriptorNotFoundException : string * Exception -> Microsoft.VisualStudio.Modeling.Design.PropertyDescriptorNotFoundException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

Applies to