InvalidPropertyException 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
InvalidPropertyException(String) |
Initializes a new instance of the InvalidPropertyException class. |
InvalidPropertyException(SerializationInfo, StreamingContext) |
Initializes a new instance of the InvalidPropertyException class. |
InvalidPropertyException(String)
Initializes a new instance of the InvalidPropertyException class.
public InvalidPropertyException (string propertyName);
new Microsoft.VisualStudio.ProjectSystem.Query.InvalidPropertyException : string -> Microsoft.VisualStudio.ProjectSystem.Query.InvalidPropertyException
Public Sub New (propertyName As String)
Parameters
- propertyName
- String
The name of a property.
Applies to
InvalidPropertyException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidPropertyException class.
protected InvalidPropertyException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.ProjectSystem.Query.InvalidPropertyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.ProjectSystem.Query.InvalidPropertyException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
- context
- StreamingContext