EventLogException Sınıf
Tanım
Olay günlüğü ile ilgili bilgileri okurken bir hata oluştuğunda oluşan tüm özel durumların temel sınıfını temsil eder.Represents the base class for all the exceptions that are thrown when an error occurs while reading event log related information.
public ref class EventLogException : Exception
public class EventLogException : Exception
[System.Serializable]
public class EventLogException : Exception
type EventLogException = class
inherit Exception
[<System.Serializable>]
type EventLogException = class
inherit Exception
interface ISerializable
Public Class EventLogException
Inherits Exception
- Devralma
- Türetilmiş
- Öznitelikler
- Uygulamalar
Oluşturucular
EventLogException() |
EventLogException sınıfının yeni bir örneğini başlatır.Initializes a new instance of the EventLogException class. |
EventLogException(Int32) |
EventLogExceptionÖzel durum için hata kodu ile sınıfın yeni bir örneğini başlatır.Initializes a new instance of the EventLogException class with the error code for the exception. |
EventLogException(SerializationInfo, StreamingContext) |
EventLogException sınıfının yeni bir örneğini serileştirilmiş verilerle başlatır.Initializes a new instance of the EventLogException class with serialized data. |
EventLogException(String) |
EventLogExceptionGeçerli özel durumu açıklayan hata iletisini belirterek sınıfın yeni bir örneğini başlatır.Initializes a new instance of the EventLogException class by specifying the error message that describes the current exception. |
EventLogException(String, Exception) |
EventLogExceptionBir hata iletisi ve iç özel durum ile sınıfın yeni bir örneğini başlatır.Initializes a new instance of the EventLogException class with an error message and inner exception. |
Özellikler
Data |
Özel durum hakkında ek kullanıcı tanımlı bilgiler sağlayan anahtar/değer çiftleri koleksiyonunu alır.Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Devralındığı yer: Exception) |
HelpLink |
Bu özel durumla ilişkili Yardım dosyasının bağlantısını alır veya ayarlar.Gets or sets a link to the help file associated with this exception. (Devralındığı yer: Exception) |
HResult |
Belirli bir özel duruma atanan kodlanmış bir sayısal değer olan HRESULT 'yi alır veya ayarlar.Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Devralındığı yer: Exception) |
InnerException |
ExceptionGeçerli özel duruma neden olan örneği alır.Gets the Exception instance that caused the current exception. (Devralındığı yer: Exception) |
Message |
Geçerli özel durumu açıklayan hata iletisini alır.Gets the error message that describes the current exception. |
Source |
Uygulamanın veya hataya neden olan nesnenin adını alır veya ayarlar.Gets or sets the name of the application or the object that causes the error. (Devralındığı yer: Exception) |
StackTrace |
Çağrı yığınında anlık çerçevelerin dize gösterimini alır.Gets a string representation of the immediate frames on the call stack. (Devralındığı yer: Exception) |
TargetSite |
Geçerli özel durumu oluşturan yöntemi alır.Gets the method that throws the current exception. (Devralındığı yer: Exception) |
Yöntemler
Equals(Object) |
Belirtilen nesnenin geçerli nesneye eşit olup olmadığını belirler.Determines whether the specified object is equal to the current object. (Devralındığı yer: Object) |
GetBaseException() |
Türetilmiş bir sınıfta geçersiz kılınırsa, Exception bir veya daha fazla sonraki özel durumun kök nedeni olan öğesini döndürür.When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Devralındığı yer: Exception) |
GetHashCode() |
Varsayılan karma işlevi olarak işlev görür.Serves as the default hash function. (Devralındığı yer: Object) |
GetObjectData(SerializationInfo, StreamingContext) |
SerializationInfo nesnesini özel durumla ilgili bilgilerle ayarlar.Sets the SerializationInfo object with information about the exception. |
GetType() |
Geçerli örneğin çalışma zamanı türünü alır.Gets the runtime type of the current instance. (Devralındığı yer: Exception) |
MemberwiseClone() |
Geçerli bir basit kopyasını oluşturur Object .Creates a shallow copy of the current Object. (Devralındığı yer: Object) |
ToString() |
Geçerli özel durumun dize gösterimini oluşturur ve döndürür.Creates and returns a string representation of the current exception. (Devralındığı yer: Exception) |
Ekinlikler
SerializeObjectState |
Özel durum hakkında serileştirilmiş veri içeren bir özel durum nesnesi oluşturmak için bir özel durum serileştirildiğinde gerçekleşir.Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Devralındığı yer: Exception) |