ObjectNotFoundException Oluşturucular

Tanım

yeni bir örneğini ObjectNotFoundExceptionbaşlatır.

Aşırı Yüklemeler

Name Description
ObjectNotFoundException()

yeni bir örneğini ObjectNotFoundExceptionbaşlatır.

ObjectNotFoundException(String)

Özel bir hata iletisiyle yeni bir örneğini ObjectNotFoundException başlatır.

ObjectNotFoundException(String, Exception)

Belirtilen bir hata iletisi ve iç özel durum başvurusu kullanan yeni bir sınıf örneği ObjectNotFoundException başlatır.

Açıklamalar

Kodunuzdaki özel durumları işleme hakkında daha fazla bilgi için bkz Exception. .

ObjectNotFoundException()

yeni bir örneğini ObjectNotFoundExceptionbaşlatır.

public:
 ObjectNotFoundException();
public ObjectNotFoundException();
Public Sub New ()

Açıklamalar

Kodunuzdaki özel durumları işleme hakkında daha fazla bilgi için bkz Exception. .

Şunlara uygulanır

ObjectNotFoundException(String)

Özel bir hata iletisiyle yeni bir örneğini ObjectNotFoundException başlatır.

public:
 ObjectNotFoundException(System::String ^ message);
public ObjectNotFoundException(string message);
new System.Data.ObjectNotFoundException : string -> System.Data.ObjectNotFoundException
Public Sub New (message As String)

Parametreler

message
String

Hatayı açıklayan ileti.

Açıklamalar

Kodunuzdaki özel durumları işleme hakkında daha fazla bilgi için bkz Exception. .

Şunlara uygulanır

ObjectNotFoundException(String, Exception)

Belirtilen bir hata iletisi ve iç özel durum başvurusu kullanan yeni bir sınıf örneği ObjectNotFoundException başlatır.

public:
 ObjectNotFoundException(System::String ^ message, Exception ^ innerException);
public ObjectNotFoundException(string message, Exception innerException);
new System.Data.ObjectNotFoundException : string * Exception -> System.Data.ObjectNotFoundException
Public Sub New (message As String, innerException As Exception)

Parametreler

message
String

Hatayı açıklayan ileti.

innerException
Exception

Geçerli özel durumun nedeni olan özel durum veya iç özel durum belirtilmemişse null başvuru (Nothing Visual Basic'te).

Açıklamalar

Kodunuzdaki özel durumları işleme hakkında daha fazla bilgi için bkz Exception. .

Şunlara uygulanır