MetadataException.GetObjectData - Méthode
Sérialise les informations relatives à l'objet de métadonnées qui a provoqué l'exception.
Espace de noms : Microsoft.SharePoint.BusinessData.Administration.Client
Assembly : Microsoft.SharePoint.BusinessData.Administration.Client (dans Microsoft.SharePoint.BusinessData.Administration.Client.dll)
Syntaxe
'Déclaration
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Public Overridable 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 virtual void GetObjectData(
SerializationInfo info,
StreamingContext context
)
Paramètres
info
Type : System.Runtime.Serialization.SerializationInfoLes informations de sérialisation.
context
Type : System.Runtime.Serialization.StreamingContextContexte de diffusion.
Voir aussi
Référence
Microsoft.SharePoint.BusinessData.Administration.Client - Espace de noms