[]
Constructs a new instance of the InvalidNameException class.
public InvalidNameException()
Public Sub New()
Constructs a new instance of the InvalidNameException class with the specified message.
public InvalidNameException(string message)
Public Sub New(message As String)
Type | Name | Description |
---|---|---|
string | message | Message that describes this exception |
Constructs a new instance of the InvalidNameException class with the specified message and inner exception.
public InvalidNameException(string message, Exception innerException)
Public Sub New(message As String, innerException As Exception)
Type | Name | Description |
---|---|---|
string | message | Message that describes this exception |
Exception | innerException | Earlier exception that causes this exception |
Constructs a new instance of the InvalidNameException class with serialized data.
protected InvalidNameException(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |