ThreadInterruptedException 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.
ThreadInterruptedException sınıfının yeni bir örneğini başlatır.
Aşırı Yüklemeler
| Name | Description |
|---|---|
| ThreadInterruptedException() |
Sınıfın ThreadInterruptedException yeni bir örneğini varsayılan özelliklerle başlatır. |
| ThreadInterruptedException(String) |
Belirtilen bir hata iletisiyle sınıfının yeni bir örneğini ThreadInterruptedException başlatır. |
| ThreadInterruptedException(SerializationInfo, StreamingContext) |
Geçersiz.
Serileştirilmiş verilerle sınıfının yeni bir örneğini ThreadInterruptedException başlatır. |
| ThreadInterruptedException(String, Exception) |
Sınıfın ThreadInterruptedException yeni bir örneğini belirtilen bir hata iletisiyle ve bu özel durumun nedeni olan iç özel duruma başvuruyla başlatır. |
ThreadInterruptedException()
Sınıfın ThreadInterruptedException yeni bir örneğini varsayılan özelliklerle başlatır.
public:
ThreadInterruptedException();
public ThreadInterruptedException();
Public Sub New ()
Açıklamalar
Aşağıdaki tabloda, örneğinin ilk özellik değerleri gösterilmektedir ThreadInterruptedException.
| Mülkiyet | Değer |
|---|---|
| InnerException |
null. |
| Message | Yerelleştirilmiş hata iletisi dizesi. |
Ayrıca bkz.
Şunlara uygulanır
ThreadInterruptedException(String)
Belirtilen bir hata iletisiyle sınıfının yeni bir örneğini ThreadInterruptedException başlatır.
public:
ThreadInterruptedException(System::String ^ message);
public ThreadInterruptedException(string? message);
public ThreadInterruptedException(string message);
new System.Threading.ThreadInterruptedException : string -> System.Threading.ThreadInterruptedException
Public Sub New (message As String)
Parametreler
- message
- String
Özel durumun nedenini açıklayan hata iletisi.
Açıklamalar
Aşağıdaki tabloda, örneğinin ilk özellik değerleri gösterilmektedir ThreadInterruptedException.
| Mülkiyet | Değer |
|---|---|
| InnerException |
null. |
| Message | Hata iletisi dizesi. |
Ayrıca bkz.
Şunlara uygulanır
ThreadInterruptedException(SerializationInfo, StreamingContext)
Dikkat
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Serileştirilmiş verilerle sınıfının yeni bir örneğini ThreadInterruptedException başlatır.
protected:
ThreadInterruptedException(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 ThreadInterruptedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected ThreadInterruptedException(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.Threading.ThreadInterruptedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Threading.ThreadInterruptedException
new System.Threading.ThreadInterruptedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Threading.ThreadInterruptedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parametreler
- info
- SerializationInfo
Oluşan SerializationInfo özel durumla ilgili serileştirilmiş nesne verilerini tutan.
- context
- StreamingContext
StreamingContext Kaynak veya hedef hakkında bağlamsal bilgileri içeren.
- Öznitelikler
Açıklamalar
Bu oluşturucu, bir akış üzerinden iletilen özel durum nesnesini yeniden oluşturmak için seri durumdan çıkarma sırasında çağrılır. Daha fazla bilgi için bkz. XML ve SOAP Serileştirme.
Ayrıca bkz.
Şunlara uygulanır
ThreadInterruptedException(String, Exception)
Sınıfın ThreadInterruptedException yeni bir örneğini belirtilen bir hata iletisiyle ve bu özel durumun nedeni olan iç özel duruma başvuruyla başlatır.
public:
ThreadInterruptedException(System::String ^ message, Exception ^ innerException);
public ThreadInterruptedException(string? message, Exception? innerException);
public ThreadInterruptedException(string message, Exception innerException);
new System.Threading.ThreadInterruptedException : string * Exception -> System.Threading.ThreadInterruptedException
Public Sub New (message As String, innerException As Exception)
Parametreler
- message
- String
Özel durumun nedenini açıklayan hata iletisi.
- innerException
- Exception
Geçerli özel durumun nedeni olan özel durum.
innerException parametresi değilsenull, geçerli özel durum, iç özel durumu işleyen bir catch blokta oluşturulur.
Açıklamalar
Önceki bir özel durumun doğrudan sonucu olarak oluşan bir özel durum, özelliğindeki önceki özel duruma başvuru içermelidir InnerException .
InnerException özelliği oluşturucuya geçirilen aynı değeri döndürür veya null özelliği oluşturucuya iç özel durum değeri sağlamaz.InnerException
Aşağıdaki tabloda, örneğinin ilk özellik değerleri gösterilmektedir ThreadInterruptedException.
| Mülkiyet | Değer |
|---|---|
| InnerException | İç özel durum başvurusu. |
| Message | Hata iletisi dizesi. |