Partager via


MetadataException.GetObjectData, méthode (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

Serializes the information about the metadata object that caused the exception.

Espace de noms : Microsoft.Office.Server.ApplicationRegistry.MetadataModel
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.MetadataModel, espace de noms