CannotFindMemberException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The exception that is thrown when you try to programmatically add or remove an object from the data cache in a document-level customization, but the specified object is not declared in the specified host item class.
public ref class CannotFindMemberException sealed : Microsoft::VisualStudio::Tools::Applications::Runtime::RuntimeException
[System.Serializable]
public sealed class CannotFindMemberException : Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
[<System.Serializable>]
type CannotFindMemberException = class
inherit RuntimeException
Public NotInheritable Class CannotFindMemberException
Inherits RuntimeException
- Inheritance
- Attributes
Remarks
To programmatically add or remove an object from the data cache, use the StartCaching
and StopCaching
methods of a host item. Examples of host items include Microsoft.Office.Tools.Word.Document, Microsoft.Office.Tools.Excel.Workbook, and Microsoft.Office.Tools.Excel.Worksheet.
Constructors
CannotFindMemberException() | |
CannotFindMemberException(String, Exception) | |
CannotFindMemberException(String, Type) | |
CannotFindMemberException(String) |