Klasa VsaException

Uwaga: ten interfejs API jest teraz nieaktualny.

Ten typ obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Hierarchia dziedziczenia

Object
  Exception
    SystemException
      ExternalException
        Microsoft.Vsa.VsaException

Przestrzeń nazw:  Microsoft.Vsa
Zestaw:  Microsoft.Vsa (w Microsoft.Vsa.dll)

Składnia

'Deklaracja
<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

Typ VsaException uwidacznia następujące elementy członkowskie.

Konstruktorzy

  Nazwa Opis
Metoda publiczna VsaException() Ten element członkowski obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Metoda publiczna VsaException(String) Ten element członkowski obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Metoda publiczna VsaException(VsaError) Ten element członkowski obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Metoda publiczna VsaException(SerializationInfo, StreamingContext) Ten element członkowski obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Metoda publiczna VsaException(String, Exception) Ten element członkowski obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Metoda publiczna VsaException(VsaError, String) Ten element członkowski obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Metoda publiczna VsaException(VsaError, String, Exception) Ten element członkowski obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Początek

Właściwości

  Nazwa Opis
Właściwość publiczna Data Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Odziedziczone z Exception).
Właściwość publiczna ErrorCode Ten element członkowski obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Właściwość publiczna HelpLink Gets or sets a link to the help file associated with this exception. (Odziedziczone z Exception).
Właściwość publiczna HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Odziedziczone z Exception).
Właściwość publiczna InnerException Gets the Exception instance that caused the current exception. (Odziedziczone z Exception).
Właściwość publiczna Message Gets a message that describes the current exception. (Odziedziczone z Exception).
Właściwość publiczna Source Gets or sets the name of the application or the object that causes the error. (Odziedziczone z Exception).
Właściwość publiczna StackTrace Gets a string representation of the immediate frames on the call stack. (Odziedziczone z Exception).
Właściwość publiczna TargetSite Gets the method that throws the current exception. (Odziedziczone z Exception).

Początek

Metody

  Nazwa Opis
Metoda publiczna Equals Determines whether the specified object is equal to the current object. (Odziedziczone z Object).
Metoda chroniona Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Odziedziczone z Object).
Metoda publiczna GetBaseException When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Odziedziczone z Exception).
Metoda publiczna GetHashCode Serves as the default hash function. (Odziedziczone z Object).
Metoda publiczna GetObjectData Ten element członkowski obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie. (Zastępuje Exception.GetObjectData(SerializationInfo, StreamingContext)).
Metoda publiczna GetType Gets the runtime type of the current instance. (Odziedziczone z Exception).
Metoda chroniona MemberwiseClone Creates a shallow copy of the current Object. (Odziedziczone z Object).
Metoda publiczna ToString Ten element członkowski obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie. (Zastępuje ExternalException.ToString).

Początek

Zdarzenia

  Nazwa Opis
Zdarzenie chronione SerializeObjectState Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Odziedziczone z Exception).

Początek

Bezpieczeństwo wątku

Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.Vsa