XmlSchemaException Constructors

Definitie

Streamt alle XmlSchemaException eigenschappen naar de SerializationInfo klasse voor de opgegeven StreamingContext.

Overloads

Name Description
XmlSchemaException()

Initialiseert een nieuw exemplaar van de XmlSchemaException klasse.

XmlSchemaException(String)

Initialiseert een nieuw exemplaar van de XmlSchemaException klasse met het opgegeven uitzonderingsbericht.

XmlSchemaException(SerializationInfo, StreamingContext)
Verouderd.

Hiermee wordt een nieuw XmlSchemaException object samengesteld met de opgegeven SerializationInfo en StreamingContext informatie die alle eigenschappen van de XmlSchemaException.

XmlSchemaException(String, Exception)

Initialiseert een nieuw exemplaar van de XmlSchemaException klasse met het uitzonderingsbericht en het oorspronkelijke Exception object dat deze uitzondering heeft veroorzaakt.

XmlSchemaException(String, Exception, Int32, Int32)

Initialiseert een nieuw exemplaar van de XmlSchemaException klasse met het opgegeven uitzonderingsbericht en het oorspronkelijke Exception object, het regelnummer en de regelpositie van de XML die deze uitzondering veroorzaken.

XmlSchemaException()

Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs

Initialiseert een nieuw exemplaar van de XmlSchemaException klasse.

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

Van toepassing op

XmlSchemaException(String)

Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs

Initialiseert een nieuw exemplaar van de XmlSchemaException klasse met het opgegeven uitzonderingsbericht.

public:
 XmlSchemaException(System::String ^ message);
public XmlSchemaException(string? message);
public XmlSchemaException(string message);
new System.Xml.Schema.XmlSchemaException : string -> System.Xml.Schema.XmlSchemaException
Public Sub New (message As String)

Parameters

message
String

Een string beschrijving van de foutvoorwaarde.

Van toepassing op

XmlSchemaException(SerializationInfo, StreamingContext)

Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs

Let op

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

Hiermee wordt een nieuw XmlSchemaException object samengesteld met de opgegeven SerializationInfo en StreamingContext informatie die alle eigenschappen van de XmlSchemaException.

protected:
 XmlSchemaException(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 XmlSchemaException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected XmlSchemaException(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}")>]
new System.Xml.Schema.XmlSchemaException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.Schema.XmlSchemaException
new System.Xml.Schema.XmlSchemaException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.Schema.XmlSchemaException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

SerializationInfo.

context
StreamingContext

StreamingContext.

Kenmerken

Van toepassing op

XmlSchemaException(String, Exception)

Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs

Initialiseert een nieuw exemplaar van de XmlSchemaException klasse met het uitzonderingsbericht en het oorspronkelijke Exception object dat deze uitzondering heeft veroorzaakt.

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

Parameters

message
String

Een string beschrijving van de foutvoorwaarde.

innerException
Exception

Het oorspronkelijke Exception object dat deze uitzondering heeft veroorzaakt.

Van toepassing op

XmlSchemaException(String, Exception, Int32, Int32)

Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs
Bron:
XmlSchemaException.cs

Initialiseert een nieuw exemplaar van de XmlSchemaException klasse met het opgegeven uitzonderingsbericht en het oorspronkelijke Exception object, het regelnummer en de regelpositie van de XML die deze uitzondering veroorzaken.

public:
 XmlSchemaException(System::String ^ message, Exception ^ innerException, int lineNumber, int linePosition);
public XmlSchemaException(string? message, Exception? innerException, int lineNumber, int linePosition);
public XmlSchemaException(string message, Exception innerException, int lineNumber, int linePosition);
new System.Xml.Schema.XmlSchemaException : string * Exception * int * int -> System.Xml.Schema.XmlSchemaException
Public Sub New (message As String, innerException As Exception, lineNumber As Integer, linePosition As Integer)

Parameters

message
String

Een string beschrijving van de foutvoorwaarde.

innerException
Exception

Het oorspronkelijke Exception object dat deze uitzondering heeft veroorzaakt.

lineNumber
Int32

Het regelnummer van de XML die deze uitzondering heeft veroorzaakt.

linePosition
Int32

De lijnpositie van de XML die deze uitzondering heeft veroorzaakt.

Van toepassing op