Share via


Classe InvalidArgumentException

The exception that is raised when a parameter that is not valid is passed to a method on the referenced connection to the server.

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (dans Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public NotInheritable Class InvalidArgumentException _
    Inherits ConnectionException
'Utilisation
Dim instance As InvalidArgumentException
[SerializableAttribute]
public sealed class InvalidArgumentException : ConnectionException
[SerializableAttribute]
public ref class InvalidArgumentException sealed : public ConnectionException
[<SealedAttribute>]
[<SerializableAttribute>]
type InvalidArgumentException =  
    class
        inherit ConnectionException
    end
public final class InvalidArgumentException extends ConnectionException

Notes

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme sûrs.

Hiérarchie d'héritage

System. . :: . .Object
  System. . :: . .Exception
    System. . :: . .SystemException
      Microsoft.SqlServer.Management.Common. . :: . .ConnectionException
        Microsoft.SqlServer.Management.Common..::..InvalidArgumentException

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.