XmlSchemaException Oluşturucular
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Verilen için tüm XmlSchemaException özellikleri SerializationInfo sınıfına akışla aktarır StreamingContext.
Aşırı Yüklemeler
| Name | Description |
|---|---|
| XmlSchemaException() |
XmlSchemaException sınıfının yeni bir örneğini başlatır. |
| XmlSchemaException(String) |
Belirtilen özel durum iletisiyle sınıfının yeni bir örneğini XmlSchemaException başlatır. |
| XmlSchemaException(SerializationInfo, StreamingContext) |
Geçersiz.
verilen |
| XmlSchemaException(String, Exception) |
Özel durum iletisi ve belirtilen bu özel duruma neden olan özgün XmlSchemaException nesne ile sınıfının yeni bir örneğini Exception başlatır. |
| XmlSchemaException(String, Exception, Int32, Int32) |
Belirtilen özel durum iletisi ve bu özel duruma neden olan XML'nin XmlSchemaException özgün Exception nesnesi, satır numarası ve satır konumu belirtilen sınıfın yeni bir örneğini başlatır. |
XmlSchemaException()
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
XmlSchemaException sınıfının yeni bir örneğini başlatır.
public:
XmlSchemaException();
public XmlSchemaException();
Public Sub New ()
Şunlara uygulanır
XmlSchemaException(String)
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
Belirtilen özel durum iletisiyle sınıfının yeni bir örneğini XmlSchemaException başlatır.
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)
Parametreler
- message
- String
string Hata koşulunun açıklaması.
Şunlara uygulanır
XmlSchemaException(SerializationInfo, StreamingContext)
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
Dikkat
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
verilen XmlSchemaException ve SerializationInfo tüm özelliklerini StreamingContextiçeren bilgilerle yeni XmlSchemaException bir nesne oluşturur.
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)
Parametreler
- info
- SerializationInfo
Serializationınfo.
- context
- StreamingContext
Streamingcontext.
- Öznitelikler
Şunlara uygulanır
XmlSchemaException(String, Exception)
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
Özel durum iletisi ve belirtilen bu özel duruma neden olan özgün XmlSchemaException nesne ile sınıfının yeni bir örneğini Exception başlatır.
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)
Parametreler
- message
- String
string Hata koşulunun açıklaması.
Şunlara uygulanır
XmlSchemaException(String, Exception, Int32, Int32)
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
- Kaynak:
- XmlSchemaException.cs
Belirtilen özel durum iletisi ve bu özel duruma neden olan XML'nin XmlSchemaException özgün Exception nesnesi, satır numarası ve satır konumu belirtilen sınıfın yeni bir örneğini başlatır.
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)
Parametreler
- message
- String
string Hata koşulunun açıklaması.
- lineNumber
- Int32
Bu özel duruma neden olan XML'nin satır numarası.
- linePosition
- Int32
Bu özel duruma neden olan XML'nin satır konumu.