XmlWriteException 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
XmlWriteException() |
Initializes a new instance of the XmlWriteException class. |
XmlWriteException(String) |
Initializes a new instance of the XmlWriteException class. |
XmlWriteException(SerializationInfo, StreamingContext) |
Initializes a new instance of the XmlWriteException class. |
XmlWriteException(String, Exception) |
Initializes a new instance of the XmlWriteException class. |
XmlWriteException()
Initializes a new instance of the XmlWriteException class.
public XmlWriteException ();
Public Sub New ()
Applies to
XmlWriteException(String)
Initializes a new instance of the XmlWriteException class.
public XmlWriteException (string message);
new Microsoft.IdentityModel.Xml.XmlWriteException : string -> Microsoft.IdentityModel.Xml.XmlWriteException
Public Sub New (message As String)
Parameters
- message
- String
Addtional information to be included in the exception and displayed to user.
Applies to
XmlWriteException(SerializationInfo, StreamingContext)
Initializes a new instance of the XmlWriteException class.
protected XmlWriteException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.IdentityModel.Xml.XmlWriteException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.IdentityModel.Xml.XmlWriteException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
the SerializationInfo that holds the serialized object data.
- context
- StreamingContext
The contextual information about the source or destination.
Applies to
XmlWriteException(String, Exception)
Initializes a new instance of the XmlWriteException class.
public XmlWriteException (string message, Exception innerException);
new Microsoft.IdentityModel.Xml.XmlWriteException : string * Exception -> Microsoft.IdentityModel.Xml.XmlWriteException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
Addtional information to be included in the exception and displayed to user.