ProviderIncompatibleException Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av ProviderIncompatibleException.
Överlagringar
| Name | Description |
|---|---|
| ProviderIncompatibleException() |
Initierar en ny instans av ProviderIncompatibleException. |
| ProviderIncompatibleException(String) |
Initierar en ny instans av ProviderIncompatibleException med ett specialiserat felmeddelande. |
| ProviderIncompatibleException(String, Exception) |
Initierar en ny instans av ProviderIncompatibleException som använder ett angivet felmeddelande. |
Kommentarer
Mer information om hur du hanterar undantag i koden Exceptionfinns i .
ProviderIncompatibleException()
Initierar en ny instans av ProviderIncompatibleException.
public:
ProviderIncompatibleException();
public ProviderIncompatibleException();
Public Sub New ()
Kommentarer
Mer information om hur du hanterar undantag i koden Exceptionfinns i .
Gäller för
ProviderIncompatibleException(String)
Initierar en ny instans av ProviderIncompatibleException med ett specialiserat felmeddelande.
public:
ProviderIncompatibleException(System::String ^ message);
public ProviderIncompatibleException(string message);
new System.Data.ProviderIncompatibleException : string -> System.Data.ProviderIncompatibleException
Public Sub New (message As String)
Parametrar
- message
- String
Meddelandet som beskriver felet.
Kommentarer
Mer information om hur du hanterar undantag i koden Exceptionfinns i .
Gäller för
ProviderIncompatibleException(String, Exception)
Initierar en ny instans av ProviderIncompatibleException som använder ett angivet felmeddelande.
public:
ProviderIncompatibleException(System::String ^ message, Exception ^ innerException);
public ProviderIncompatibleException(string message, Exception innerException);
new System.Data.ProviderIncompatibleException : string * Exception -> System.Data.ProviderIncompatibleException
Public Sub New (message As String, innerException As Exception)
Parametrar
- message
- String
Meddelandet som beskriver felet.
- innerException
- Exception
Undantaget som är orsaken till det aktuella undantaget eller en null-referens (Nothing i Visual Basic) om inget inre undantag har angetts.
Kommentarer
Mer information om hur du hanterar undantag i koden Exceptionfinns i .