XmlSyntaxException Constructor (String)

 

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

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

public XmlSyntaxException(
	string message
)

Parameters

message
Type: System.String

The error message that explains the reason for the exception.

The following table shows the initial property values for an instance of XmlSyntaxException.

Property

Value

InnerException

null.

Message

The error message string.

.NET Framework
Available since 1.1
Return to top
Show: