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
- info
Type: System.Runtime.Serialization.SerializationInfo
Contains serialized data about the workflow context.
- context
Type: System.Runtime.Serialization.StreamingContext
Contains contextual information about the serialization source or destination.
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext)