MetadataException.GetObjectData, méthode (Microsoft.Office.Server.ApplicationRegistry.Administration)
Serializes the information about the metadata object that caused the exception
Espace de noms : Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter:=True)> _
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Utilisation
Dim instance As MetadataException
Dim info As SerializationInfo
Dim context As StreamingContext
instance.GetObjectData(info, context)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true)]
public override void GetObjectData (
SerializationInfo info,
StreamingContext context
)
Paramètres
- info
- context
Voir aussi
Référence
MetadataException, classe
Membres MetadataException
Microsoft.Office.Server.ApplicationRegistry.Administration, espace de noms