共用方式為


ProjectWorkflowContext.GetObjectData 方法

會指定的SerializationInfo物件序列化ProjectWorkflowContext所需的資料。

命名空間:  Microsoft.Office.Project.Server.Library
組件:  Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)

語法

'宣告
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Overrides Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'用途
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
)

參數

實作

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

請參閱

參照

ProjectWorkflowContext 類別

ProjectWorkflowContext 成員

Microsoft.Office.Project.Server.Library 命名空間