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.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
<SerializableAttribute> _
Public NotInheritable Class InvalidArgumentException _
    Inherits ConnectionException
'Uso
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

Comentários

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Hierarquia de herança

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

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.