AccessDeniedException.GetObjectData - Méthode
Extrait les données d'objet.
Espace de noms : Microsoft.BusinessData.Infrastructure
Assembly : Microsoft.BusinessData (dans Microsoft.BusinessData.dll)
Syntaxe
'Déclaration
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Utilisation
Dim instance As AccessDeniedException
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
Type : System.Runtime.Serialization.SerializationInfoLes informations de sérialisation.
context
Type : System.Runtime.Serialization.StreamingContextContexte de diffusion.