MetadataException 类 (Microsoft.Office.Server.ApplicationRegistry.Administration)

Represents an exception thrown by a metadata object.

命名空间: Microsoft.Office.Server.ApplicationRegistry.Administration
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
Public Class MetadataException
    Inherits Exception
用法
Dim instance As MetadataException
[SerializableAttribute] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
public class MetadataException : Exception

备注

Contains information about the metadata object that caused the exception.

继承层次结构

System.Object
   System.Exception
    Microsoft.Office.Server.ApplicationRegistry.Administration.MetadataException
       派生类

线程安全性

此类型的任何公共静态( Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

参考

MetadataException 成员
Microsoft.Office.Server.ApplicationRegistry.Administration 命名空间