Bagikan melalui


XsltException Konstruktor

Definisi

Menginisialisasi instans baru kelas XsltException.

Overload

XsltException()

Menginisialisasi instans baru kelas XsltException.

XsltException(String)

Menginisialisasi instans XsltException baru kelas dengan pesan kesalahan tertentu.

XsltException(SerializationInfo, StreamingContext)
Kedaluwarsa.

Menginisialisasi instans XsltException baru kelas menggunakan informasi di SerializationInfo objek dan StreamingContext .

XsltException(String, Exception)

Menginisialisasi instans baru kelas XsltException.

XsltException()

Sumber:
XsltException.cs
Sumber:
XsltException.cs
Sumber:
XsltException.cs

Menginisialisasi instans baru kelas XsltException.

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

Berlaku untuk

XsltException(String)

Sumber:
XsltException.cs
Sumber:
XsltException.cs
Sumber:
XsltException.cs

Menginisialisasi instans XsltException baru kelas dengan pesan kesalahan tertentu.

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)

Parameter

message
String

Pesan yang menjelaskan kesalahan.

Berlaku untuk

XsltException(SerializationInfo, StreamingContext)

Sumber:
XsltException.cs
Sumber:
XsltException.cs
Sumber:
XsltException.cs

Perhatian

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

Menginisialisasi instans XsltException baru kelas menggunakan informasi di SerializationInfo objek dan StreamingContext .

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)

Parameter

info
SerializationInfo

Objek SerializationInfo yang berisi semua properti dari XsltException.

context
StreamingContext

Objek StreamingContext.

Atribut

Berlaku untuk

XsltException(String, Exception)

Sumber:
XsltException.cs
Sumber:
XsltException.cs
Sumber:
XsltException.cs

Menginisialisasi instans baru kelas XsltException.

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)

Parameter

message
String

Deskripsi kondisi kesalahan.

innerException
Exception

yang Exception melempar , XsltExceptionjika ada. Nilai ini bisa berupa null.

Berlaku untuk