Поделиться через


Класс AssemblyAlreadyRegisteredException

The AssemblyAlreadyRegistered class is an exception that is raised when an the adapter receives the wrong number of arguments.

Иерархия наследования

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Dmf.DmfException
        Microsoft.SqlServer.Management.Dmf.AssemblyAlreadyRegisteredException

Пространство имен:  Microsoft.SqlServer.Management.Dmf
Сборка:  Microsoft.SqlServer.Dmf (в Microsoft.SqlServer.Dmf.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class AssemblyAlreadyRegisteredException _
    Inherits DmfException
'Применение
Dim instance As AssemblyAlreadyRegisteredException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class AssemblyAlreadyRegisteredException : DmfException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class AssemblyAlreadyRegisteredException sealed : public DmfException
[<SealedAttribute>]
[<SerializableAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type AssemblyAlreadyRegisteredException =  
    class 
        inherit DmfException 
    end
public final class AssemblyAlreadyRegisteredException extends DmfException

Тип AssemblyAlreadyRegisteredException обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод AssemblyAlreadyRegisteredException() Initializes a new instance of the AssemblyAlreadyRegisteredException class.
Открытый метод AssemblyAlreadyRegisteredException(String) Initializes a new instance of the AssemblyAlreadyRegisteredException class that has the specified message text.
Открытый метод AssemblyAlreadyRegisteredException(String, Exception) Initializes a new instance of the ExceptionAlreadyRegisteredException class that has the specified message text and inner exception.

В начало

Свойства

  Имя Описание
Открытое свойство Assembly Gets the assembly that is associated with the exception.
Открытое свойство Data (Производный от Exception.)
Открытое свойство DmfExceptionType Gets the type of DMF exception. (Переопределяет DmfException.DmfExceptionType.)
Открытое свойство HelpLink Gets the help link for the exception. (Производный от DmfException.)
Открытое свойство HResult (Производный от Exception.)
Открытое свойство InnerException (Производный от Exception.)
Открытое свойство Message Gets the message associated with the exception. (Переопределяет Exception.Message.)
Открытое свойство Source (Производный от Exception.)
Открытое свойство StackTrace (Производный от Exception.)
Открытое свойство TargetSite (Производный от Exception.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Открытый метод GetBaseException (Производный от Exception.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetObjectData Populates the parameters with information required to serialize the object. (Переопределяет Exception.GetObjectData(SerializationInfo, StreamingContext).)
Открытый метод GetType (Производный от Exception.)
Защищенный метод SetHelpContext Sets the help context for the exception. (Производный от DmfException.)
Открытый метод ToString (Производный от Exception.)

В начало

Примеры

Обработка исключений SMO

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Dmf