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
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := 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)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public override void GetObjectData(
SerializationInfo info,
StreamingContext context
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoContains serialized data about the workflow context.
context
Type: System.Runtime.Serialization.StreamingContextContains contextual information about the serialization source or destination.
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext)