Share via


Classe VsaException

Observação: esta API agora é obsoleta.

Esse tipo oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código.

Hierarquia de herança

Object
  Exception
    SystemException
      ExternalException
        Microsoft.Vsa.VsaException

Namespace:  Microsoft.Vsa
Assembly:  Microsoft.Vsa (em Microsoft.Vsa.dll)

Sintaxe

'Declaração
<SerializableAttribute> _
<GuidAttribute("5f44bb1a-465a-37db-8e84-acc733bf7541")> _
<ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class VsaException _
    Inherits ExternalException
[SerializableAttribute]
[GuidAttribute("5f44bb1a-465a-37db-8e84-acc733bf7541")]
[ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class VsaException : ExternalException
[SerializableAttribute]
[GuidAttribute(L"5f44bb1a-465a-37db-8e84-acc733bf7541")]
[ObsoleteAttribute(L"Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class VsaException : public ExternalException
[<SerializableAttribute>]
[<GuidAttribute("5f44bb1a-465a-37db-8e84-acc733bf7541")>]
[<ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")>]
[<PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")>]
type VsaException =  
    class 
        inherit ExternalException 
    end
public class VsaException extends ExternalException

O tipo VsaException expõe os membros a seguir.

Construtores

  Nome Descrição
Método público VsaException() Esse membro oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código.
Método público VsaException(String) Esse membro oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código.
Método público VsaException(VsaError) Esse membro oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código.
Método público VsaException(SerializationInfo, StreamingContext) Esse membro oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código.
Método público VsaException(String, Exception) Esse membro oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código.
Método público VsaException(VsaError, String) Esse membro oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código.
Método público VsaException(VsaError, String, Exception) Esse membro oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código.

Superior

Propriedades

  Nome Descrição
Propriedade pública Data Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Herdado de Exception.)
Propriedade pública ErrorCode Esse membro oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código.
Propriedade pública HelpLink Gets or sets a link to the help file associated with this exception. (Herdado de Exception.)
Propriedade pública HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Herdado de Exception.)
Propriedade pública InnerException Gets the Exception instance that caused the current exception. (Herdado de Exception.)
Propriedade pública Message Gets a message that describes the current exception. (Herdado de Exception.)
Propriedade pública Source Gets or sets the name of the application or the object that causes the error. (Herdado de Exception.)
Propriedade pública StackTrace Gets a string representation of the immediate frames on the call stack. (Herdado de Exception.)
Propriedade pública TargetSite Gets the method that throws the current exception. (Herdado de Exception.)

Superior

Métodos

  Nome Descrição
Método público Equals Determines whether the specified object is equal to the current object. (Herdado de Object.)
Método protegido Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Herdado de Object.)
Método público GetBaseException When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Herdado de Exception.)
Método público GetHashCode Serves as the default hash function. (Herdado de Object.)
Método público GetObjectData Esse membro oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código. (Substitui Exception.GetObjectData(SerializationInfo, StreamingContext).)
Método público GetType Gets the runtime type of the current instance. (Herdado de Exception.)
Método protegido MemberwiseClone Creates a shallow copy of the current Object. (Herdado de Object.)
Método público ToString Esse membro oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código. (Substitui ExternalException.ToString.)

Superior

Eventos

  Nome Descrição
Evento protegido SerializeObjectState Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Herdado de Exception.)

Superior

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.Vsa