Uredi

Deli z drugimi prek


XsltException Constructors

Definition

Initializes a new instance of the XsltException class.

Overloads

XsltException()

Initializes a new instance of the XsltException class.

XsltException(String)

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

XsltException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the XsltException class using the information in the SerializationInfo and StreamingContext objects.

XsltException(String, Exception)

Initializes a new instance of the XsltException class.

XsltException()

Source:
XsltException.cs
Source:
XsltException.cs
Source:
XsltException.cs

Initializes a new instance of the XsltException class.

public:
 XsltException();
public XsltException ();
Public Sub New ()

Applies to

XsltException(String)

Source:
XsltException.cs
Source:
XsltException.cs
Source:
XsltException.cs

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

public:
 XsltException(System::String ^ message);
public XsltException (string message);
new System.Xml.Xsl.XsltException : string -> System.Xml.Xsl.XsltException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

XsltException(SerializationInfo, StreamingContext)

Source:
XsltException.cs
Source:
XsltException.cs
Source:
XsltException.cs

Caution

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Initializes a new instance of the XsltException class using the information in the SerializationInfo and StreamingContext objects.

protected:
 XsltException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected XsltException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected XsltException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Xml.Xsl.XsltException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.Xsl.XsltException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Xml.Xsl.XsltException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.Xsl.XsltException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo object containing all the properties of an XsltException.

context
StreamingContext

The StreamingContext object.

Attributes

Applies to

XsltException(String, Exception)

Source:
XsltException.cs
Source:
XsltException.cs
Source:
XsltException.cs

Initializes a new instance of the XsltException class.

public:
 XsltException(System::String ^ message, Exception ^ innerException);
public XsltException (string message, Exception? innerException);
public XsltException (string message, Exception innerException);
new System.Xml.Xsl.XsltException : string * Exception -> System.Xml.Xsl.XsltException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The description of the error condition.

innerException
Exception

The Exception which threw the XsltException, if any. This value can be null.

Applies to