C# Class System.Xml.XmlException

Returns information about the last XML related exception.
Inheritance: Exception
显示文件 Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
BuildCharExceptionArgs string[]
BuildCharExceptionArgs string[]
BuildCharExceptionArgs string[]
BuildCharExceptionArgs string[]
CreateMessage string
FormatUserMessage string
IsCatchableException bool
XmlException System
XmlException System
XmlException System
XmlException System
XmlException System
XmlException System
XmlException System
XmlException System
XmlException System
XmlException System
XmlException System
XmlException System
XmlException System

Public Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
XmlException ( ) : System
XmlException ( String message ) : System
XmlException ( String message, Exception innerException ) : System
XmlException ( String message, Exception innerException, int lineNumber, int linePosition ) : System

Protected Methods

Method Description
XmlException ( SerializationInfo info, StreamingContext context ) : System

Private Methods

Method Description
BuildCharExceptionArgs ( char invChar, char nextChar ) : string[]
BuildCharExceptionArgs ( char data, int invCharIndex ) : string[]
BuildCharExceptionArgs ( char data, int length, int invCharIndex ) : string[]
BuildCharExceptionArgs ( string data, int invCharIndex ) : string[]
CreateMessage ( string res, string args, int lineNumber, int linePosition ) : string
FormatUserMessage ( string message, int lineNumber, int linePosition ) : string
IsCatchableException ( Exception e ) : bool
XmlException ( String message, Exception innerException, int lineNumber, int linePosition, string sourceUri ) : System
XmlException ( string res, String arg, Exception innerException, IXmlLineInfo lineInfo ) : System
XmlException ( string res, String arg, IXmlLineInfo lineInfo ) : System
XmlException ( string res, String arg, IXmlLineInfo lineInfo, string sourceUri ) : System
XmlException ( string res, int lineNumber, int linePosition ) : System
XmlException ( string res, string args ) : System
XmlException ( string res, string args, Exception innerException, int lineNumber, int linePosition ) : System
XmlException ( string res, string args, Exception innerException, int lineNumber, int linePosition, string sourceUri ) : System
XmlException ( string res, string args, IXmlLineInfo lineInfo ) : System
XmlException ( string res, string args, IXmlLineInfo lineInfo, string sourceUri ) : System
XmlException ( string res, string arg, int lineNumber, int linePosition ) : System
XmlException ( string res, string arg, int lineNumber, int linePosition, string sourceUri ) : System
XmlException ( string res, string args, string sourceUri ) : System

Method Details

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo
context StreamingContext
return void

XmlException() public method

public XmlException ( ) : System
return System

XmlException() protected method

protected XmlException ( SerializationInfo info, StreamingContext context ) : System
info SerializationInfo
context StreamingContext
return System

XmlException() public method

public XmlException ( String message ) : System
message String
return System

XmlException() public method

public XmlException ( String message, Exception innerException ) : System
message String
innerException Exception
return System

XmlException() public method

public XmlException ( String message, Exception innerException, int lineNumber, int linePosition ) : System
message String
innerException Exception
lineNumber int
linePosition int
return System