Classe ExtensionManagerException
Exceção genérica para trabalhar com os gerentes de extensão e repositórios do Gerenciador de extensão.
Hierarquia de herança
Object
Exception
Microsoft.VisualStudio.ExtensionManager.ExtensionManagerException
Mais...
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (em Microsoft.VisualStudio.ExtensionManager.dll)
Sintaxe
'Declaração
Public MustInherit Class ExtensionManagerException _
Inherits Exception
public abstract class ExtensionManagerException : Exception
public ref class ExtensionManagerException abstract : public Exception
[<AbstractClass>]
type ExtensionManagerException =
class
inherit Exception
end
public abstract class ExtensionManagerException extends Exception
O tipo ExtensionManagerException expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
ExtensionManagerException() | Cria um ExtensionManagerException objeto. | |
ExtensionManagerException(String) | Cria um ExtensionManagerException objeto que tem a mensagem de erro especificado. | |
ExtensionManagerException(String, Exception) | Cria um ExtensionManagerException o objeto que tem a mensagem de erro especificado e expõe a exceção interna que lançou a ele. |
Superior
Propriedades
Nome | Descrição | |
---|---|---|
Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Herdado de Exception.) | |
ErrorCode | ||
HelpLink | Gets or sets a link to the help file associated with this exception. (Herdado de Exception.) | |
HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Herdado de Exception.) | |
InnerException | Gets the Exception instance that caused the current exception. (Herdado de Exception.) | |
Message | Gets a message that describes the current exception. (Herdado de Exception.) | |
Source | Gets or sets the name of the application or the object that causes the error. (Herdado de Exception.) | |
StackTrace | Gets a string representation of the immediate frames on the call stack. (Herdado de Exception.) | |
TargetSite | Gets the method that throws the current exception. (Herdado de Exception.) |
Superior
Métodos
Nome | Descrição | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Herdado de Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Herdado de Object.) | |
GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Herdado de Exception.) | |
GetHashCode | Serves as the default hash function. (Herdado de Object.) | |
GetObjectData | Segurança crítica. When overridden in a derived class, sets the SerializationInfo with information about the exception. (Herdado de Exception.) | |
GetType | Gets the runtime type of the current instance. (Herdado de Exception.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Herdado de Object.) | |
ToString | Creates and returns a string representation of the current exception. (Herdado de Exception.) |
Superior
Eventos
Nome | Descrição | |
---|---|---|
SerializeObjectState | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Herdado de Exception.) |
Superior
Comentários
Embora essa API oferece suporte a Extension Manager infra-estrutura, é recomendável que você não usá-lo porque ele está sujeito a alterações.
ExtensionManagerExceptioné funcionalmente idêntico ao Exception.
Acesso thread-safe
Quaisquer membros estático (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.
Consulte também
Referência
Namespace Microsoft.VisualStudio.ExtensionManager
Hierarquia de herança
Object
Exception
Microsoft.VisualStudio.ExtensionManager.ExtensionManagerException
Microsoft.VisualStudio.ExtensionManager.AlreadyInstalledException
Microsoft.VisualStudio.ExtensionManager.BreaksExistingExtensionsException
Microsoft.VisualStudio.ExtensionManager.CannotUninstallOrphanedComponentsException
Microsoft.VisualStudio.ExtensionManager.DependencyException
Microsoft.VisualStudio.ExtensionManager.DirectoryExistsException
Microsoft.VisualStudio.ExtensionManager.FilesInUseException
Microsoft.VisualStudio.ExtensionManager.IdentifierConflictException
Microsoft.VisualStudio.ExtensionManager.InconsistentNestedReferenceIdException
Microsoft.VisualStudio.ExtensionManager.InstallByMsiException
Microsoft.VisualStudio.ExtensionManager.InvalidExtensionManifestException
Microsoft.VisualStudio.ExtensionManager.InvalidExtensionPackageException
Microsoft.VisualStudio.ExtensionManager.InvalidPerMachineOperationException
Microsoft.VisualStudio.ExtensionManager.MissingPackagePartException
Microsoft.VisualStudio.ExtensionManager.MissingReferencesException
Microsoft.VisualStudio.ExtensionManager.MissingTargetFrameworkException
Microsoft.VisualStudio.ExtensionManager.NestedExtensionInstallException
Microsoft.VisualStudio.ExtensionManager.NotInstalledException
Microsoft.VisualStudio.ExtensionManager.NotPendingDeletionException
Microsoft.VisualStudio.ExtensionManager.ProxyCredentialsRequiredException
Microsoft.VisualStudio.ExtensionManager.ReferenceConstraintException
Microsoft.VisualStudio.ExtensionManager.RequiresAdminRightsException
Microsoft.VisualStudio.ExtensionManager.SystemComponentException
Microsoft.VisualStudio.ExtensionManager.UnsupportedProductException