VerificationException Oluşturucular
Tanım
VerificationException sınıfının yeni bir örneğini başlatır.Initializes a new instance of the VerificationException class.
Aşırı Yüklemeler
VerificationException() |
Varsayılan özelliklerle sınıfının yeni bir örneğini başlatır VerificationException .Initializes a new instance of the VerificationException class with default properties. |
VerificationException(String) |
Açıklayıcı bir iletiyle sınıfının yeni bir örneğini başlatır VerificationException .Initializes a new instance of the VerificationException class with an explanatory message. |
VerificationException(SerializationInfo, StreamingContext) |
VerificationException sınıfının yeni bir örneğini serileştirilmiş verilerle başlatır.Initializes a new instance of the VerificationException class with serialized data. |
VerificationException(String, Exception) |
VerificationExceptionBelirtilen bir hata iletisiyle sınıfın yeni bir örneğini ve bu özel durumun nedeni olan iç özel duruma bir başvuruyu başlatır.Initializes a new instance of the VerificationException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
VerificationException()
Varsayılan özelliklerle sınıfının yeni bir örneğini başlatır VerificationException .Initializes a new instance of the VerificationException class with default properties.
public:
VerificationException();
public VerificationException ();
Public Sub New ()
Açıklamalar
VerificationException HRESULT COR_E_VERIFICATION kullanır.VerificationException uses the HRESULT COR_E_VERIFICATION.
Şunlara uygulanır
VerificationException(String)
Açıklayıcı bir iletiyle sınıfının yeni bir örneğini başlatır VerificationException .Initializes a new instance of the VerificationException class with an explanatory message.
public:
VerificationException(System::String ^ message);
public VerificationException (string message);
public VerificationException (string? message);
new System.Security.VerificationException : string -> System.Security.VerificationException
Public Sub New (message As String)
Parametreler
- message
- String
Özel durumun oluştuğu nedeni belirten bir ileti.A message indicating the reason the exception occurred.
Şunlara uygulanır
VerificationException(SerializationInfo, StreamingContext)
VerificationException sınıfının yeni bir örneğini serileştirilmiş verilerle başlatır.Initializes a new instance of the VerificationException class with serialized data.
protected:
VerificationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected VerificationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Security.VerificationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Security.VerificationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parametreler
- info
- SerializationInfo
Serileştirilmiş nesne verilerini tutan nesne.The object that holds the serialized object data.
- context
- StreamingContext
Kaynak veya hedefle ilgili bağlamsal bilgi.The contextual information about the source or destination.
Açıklamalar
Bu oluşturucu, bir akış üzerinden iletilen özel durum nesnesini yeniden oluşturmak için seri durumundan çıkarma sırasında çağrılır.This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.
Şunlara uygulanır
VerificationException(String, Exception)
VerificationExceptionBelirtilen bir hata iletisiyle sınıfın yeni bir örneğini ve bu özel durumun nedeni olan iç özel duruma bir başvuruyu başlatır.Initializes a new instance of the VerificationException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public:
VerificationException(System::String ^ message, Exception ^ innerException);
public VerificationException (string message, Exception innerException);
public VerificationException (string? message, Exception? innerException);
new System.Security.VerificationException : string * Exception -> System.Security.VerificationException
Public Sub New (message As String, innerException As Exception)
Parametreler
- message
- String
Özel durumun nedenini açıklayan hata iletisi.The error message that explains the reason for the exception.
- innerException
- Exception
Geçerli özel durumun nedeni olan özel durum.The exception that is the cause of the current exception. innerException
Parametre değilse null
, geçerli özel durum, catch
iç özel durumu işleyen bir blokta oluşturulur.If the innerException
parameter is not null
, the current exception is raised in a catch
block that handles the inner exception.
Açıklamalar
Bir önceki özel durumun doğrudan bir sonucu olarak oluşturulan bir özel durum, InnerException özelliğindeki önceki özel duruma başvuru içermelidir.An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the InnerException property. InnerException özelliği, oluşturucuya iletilen aynı değeri ya da InnerException özelliği oluşturucuya iç özel durum değeri sağlamıyorsa null
değerini döndürür.The InnerException property returns the same value that is passed into the constructor, or null
if the InnerException property does not supply the inner exception value to the constructor.
Aşağıdaki tablo, VerificationException öğesinin bir örneği için başlangıç özellik değerlerini gösterir.The following table shows the initial property values for an instance of VerificationException.
ÖzellikProperty | DeğerValue |
---|---|
InnerException | İç özel duruma başvuru.The inner exception reference. |
Message | Hata iletisi dizesi.The error message string. |