ActionNotSupportedException 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.
ActionNotSupportedException sınıfının yeni bir örneğini başlatır.
Aşırı Yüklemeler
ActionNotSupportedException() |
ActionNotSupportedException sınıfının yeni bir örneğini başlatır. |
ActionNotSupportedException(String) |
Belirtilen hata iletisiyle sınıfının yeni bir örneğini ActionNotSupportedException başlatır. |
ActionNotSupportedException(SerializationInfo, StreamingContext) |
Serileştirme bilgileri ve belirtilen akış bağlamı ile sınıfının yeni bir örneğini ActionNotSupportedException başlatır. |
ActionNotSupportedException(String, Exception) |
Sınıfın ActionNotSupportedException yeni bir örneğini belirtilen bir hata iletisiyle ve özel durumun nedeni olan iç özel duruma başvuruyla başlatır. |
Açıklamalar
Kullanıcıya bir hata iletisi geçirmek istiyorsanız oluşturucuyu ActionNotSupportedException(String) kullanın.
Kullanıcıya özel durumun nedeni olan bir hata iletisi ve iç özel duruma başvuru geçirmek istiyorsanız oluşturucuyu ActionNotSupportedException(String, Exception) kullanın.
Serileştirme bilgilerini ve akış bağlamını geçirmek istiyorsanız oluşturucuyu ActionNotSupportedException(SerializationInfo, StreamingContext) kullanın.
ActionNotSupportedException()
ActionNotSupportedException sınıfının yeni bir örneğini başlatır.
public:
ActionNotSupportedException();
public ActionNotSupportedException ();
Public Sub New ()
Şunlara uygulanır
ActionNotSupportedException(String)
Belirtilen hata iletisiyle sınıfının yeni bir örneğini ActionNotSupportedException başlatır.
public:
ActionNotSupportedException(System::String ^ message);
public ActionNotSupportedException (string message);
new System.ServiceModel.ActionNotSupportedException : string -> System.ServiceModel.ActionNotSupportedException
Public Sub New (message As String)
Parametreler
- message
- String
Özel durumun nedenini açıklayan hata iletisi.
Açıklamalar
Kullanıcıya bir hata iletisi geçirmek istediğinizde bu oluşturucuyu kullanın. İleti parametresinin içeriği hedeflenen kullanıcılar tarafından anlaşılabilir olmalıdır.
Şunlara uygulanır
ActionNotSupportedException(SerializationInfo, StreamingContext)
Serileştirme bilgileri ve belirtilen akış bağlamı ile sınıfının yeni bir örneğini ActionNotSupportedException başlatır.
protected:
ActionNotSupportedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ActionNotSupportedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.ActionNotSupportedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.ActionNotSupportedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parametreler
- info
- SerializationInfo
Özel SerializationInfo durumu seri hale getirmek için gereken tüm verileri içeren.
- context
- StreamingContext
StreamingContext akışın kaynağını ve hedefini belirtir.
Açıklamalar
Bu oluşturucu, bir akış üzerinden iletilen özel durum nesnesini yeniden yapılandırmak için seri durumdan çıkarma sırasında çağrılır.
Şunlara uygulanır
ActionNotSupportedException(String, Exception)
Sınıfın ActionNotSupportedException yeni bir örneğini belirtilen bir hata iletisiyle ve özel durumun nedeni olan iç özel duruma başvuruyla başlatır.
public:
ActionNotSupportedException(System::String ^ message, Exception ^ innerException);
public ActionNotSupportedException (string message, Exception innerException);
new System.ServiceModel.ActionNotSupportedException : string * Exception -> System.ServiceModel.ActionNotSupportedException
Public Sub New (message As String, innerException As Exception)
Parametreler
- message
- String
Özel durumun nedenini açıklayan hata iletisi.
Açıklamalar
Kullanıcıya bir hata iletisi ve iç özel durum hakkında bilgi geçirmek istediğinizde bu oluşturucuyu kullanın. İleti parametresinin içeriği hedeflenen kullanıcılar tarafından anlaşılabilir olmalıdır.
Önceki bir özel durumun doğrudan sonucu olarak oluşan bir özel durum, özelliğindeki InnerException önceki özel duruma başvuru içerebilir. InnerException özelliği oluşturucuya iç özel durum değeri sağlamazsa oluşturucuya geçirilen değeri veya başvuruyu null
InnerException (Nothing
Visual Basic) döndürür.