Bagikan melalui


RuntimeException Class (2007 System)

Provides the base class for exceptions in Visual Studio Tools for Office runtime.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll)

Syntax

'Declaration
<SerializableAttribute> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public MustInherit Class RuntimeException _
    Inherits Exception
'Usage
Dim instance As RuntimeException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public abstract class RuntimeException : Exception
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class RuntimeException abstract : public Exception
public abstract class RuntimeException extends Exception

Remarks

For more information about the Visual Studio Tools for Office runtime, see Visual Studio Tools for Office Runtime Overview.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
      Microsoft.Office.Tools.CannotRemoveControlException
      Microsoft.Office.Tools.CannotRemoveCustomizationException
      Microsoft.Office.Tools.ControlNameAlreadyExistsException
      Microsoft.Office.Tools.InvalidRangeException
      Microsoft.Office.Tools.OfficeXpsDocumentException
      Microsoft.Office.Tools.RangeNotOnWorksheetException
      Microsoft.VisualStudio.Tools.Applications.Runtime.CacheAlreadyLoadedException
      Microsoft.VisualStudio.Tools.Applications.Runtime.CachedDataCouldNotBeSerializedException
      Microsoft.VisualStudio.Tools.Applications.Runtime.CachedDataTypeMismatchException
      Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCacheInNonStartupException
      Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateCustomizationDomainException
      Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateStartupObjectException
      Microsoft.VisualStudio.Tools.Applications.Runtime.CannotFindMemberException
      Microsoft.VisualStudio.Tools.Applications.Runtime.CannotFindObjectToFillException
      Microsoft.VisualStudio.Tools.Applications.Runtime.CannotFindStartupObjectAssemblyException
      Microsoft.VisualStudio.Tools.Applications.Runtime.CannotLoadManifestException
      Microsoft.VisualStudio.Tools.Applications.Runtime.CannotRetrieveAppInfoException
      Microsoft.VisualStudio.Tools.Applications.Runtime.CannotRetrieveCachedDataException
      Microsoft.VisualStudio.Tools.Applications.Runtime.ControlCouldNotBeInitializedException
      Microsoft.VisualStudio.Tools.Applications.Runtime.ControlNotFoundException
      Microsoft.VisualStudio.Tools.Applications.Runtime.DocumentAlreadyCustomizedException
      Microsoft.VisualStudio.Tools.Applications.Runtime.DocumentAlreadyLoadedException
      Microsoft.VisualStudio.Tools.Applications.Runtime.DocumentClosedException
      Microsoft.VisualStudio.Tools.Applications.Runtime.DocumentCustomizedWithPreviousRuntimeException
      Microsoft.VisualStudio.Tools.Applications.Runtime.DocumentNotCustomizedException
      Microsoft.VisualStudio.Tools.Applications.Runtime.DocumentNotLoadedException
      Microsoft.VisualStudio.Tools.Applications.Runtime.InvalidDeployManifestException
      Microsoft.VisualStudio.Tools.Applications.Runtime.InvalidManifestException
      Microsoft.VisualStudio.Tools.Applications.Runtime.InvalidNewApplicationManifestException
      Microsoft.VisualStudio.Tools.Applications.Runtime.ItemAlreadyInCacheException
      Microsoft.VisualStudio.Tools.Applications.Runtime.ItemNotInCacheException
      Microsoft.VisualStudio.Tools.Applications.Runtime.ManifestNotExecutedException
      Microsoft.VisualStudio.Tools.Applications.Runtime.MissingDataIdException
      Microsoft.VisualStudio.Tools.Applications.Runtime.MissingHostItemIdException
      Microsoft.VisualStudio.Tools.Applications.Runtime.MissingTypeException
      Microsoft.VisualStudio.Tools.Applications.Runtime.MultipleCachedDataCouldNotBeSerializedException
      Microsoft.VisualStudio.Tools.Applications.Runtime.NonCacheableTypeException
      Microsoft.VisualStudio.Tools.Applications.Runtime.NoStartupObjectsException
      Microsoft.VisualStudio.Tools.Applications.Runtime.NotAvailableOfflineException
      Microsoft.VisualStudio.Tools.Applications.Runtime.NotAvailableOnlineException
      Microsoft.VisualStudio.Tools.Applications.Runtime.UnknownCustomizationFileException
      Microsoft.VisualStudio.Tools.Applications.Runtime.UpdateFailedException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RuntimeException Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace

Other Resources

Visual Studio Tools for Office Runtime Overview