Share via


ProjectWorkflowContext.GetObjectData Method

Populates the specified SerializationInfo object with the data that is needed to serialize the ProjectWorkflowContext.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Public Overrides Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Usage
Dim instance As ProjectWorkflowContext
Dim info As SerializationInfo
Dim context As StreamingContext

instance.GetObjectData(info, context)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(
    SerializationInfo info,
    StreamingContext context
)

Parameters

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

See Also

Reference

ProjectWorkflowContext Class

ProjectWorkflowContext Members

Microsoft.Office.Project.Server.Library Namespace