Partager via


TestObjectUpdatedException.GetObjectData, méthode

Définit SerializationInfo à l'aide des informations fournies au sujet de l'exception.

Espace de noms :  Microsoft.TeamFoundation.TestManagement.Client
Assembly :  Microsoft.TeamFoundation.TestManagement.Client (dans Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntaxe

'Déclaration
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.SerializationFormatter)> _
Public Overrides Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public override void GetObjectData(
    SerializationInfo info,
    StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::SerializationFormatter)]
public:
virtual void GetObjectData(
    SerializationInfo^ info, 
    StreamingContext context
) override
[<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)>]
abstract GetObjectData : 
        info:SerializationInfo * 
        context:StreamingContext -> unit 
[<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)>]
override GetObjectData : 
        info:SerializationInfo * 
        context:StreamingContext -> unit 
public override function GetObjectData(
    info : SerializationInfo, 
    context : StreamingContext
)

Paramètres

Implémentations

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)

Sécurité .NET Framework

Voir aussi

Référence

TestObjectUpdatedException Classe

Microsoft.TeamFoundation.TestManagement.Client, espace de noms

SerializationInfo

StreamingContext