Edit

Share via


WorkflowPersistenceService.RestoreFromDefaultSerializedForm Method

Definition

Restores the Activity from its serialized form.

protected:
 static System::Workflow::ComponentModel::Activity ^ RestoreFromDefaultSerializedForm(cli::array <System::Byte> ^ activityBytes, System::Workflow::ComponentModel::Activity ^ outerActivity);
protected static System.Workflow.ComponentModel.Activity RestoreFromDefaultSerializedForm(byte[] activityBytes, System.Workflow.ComponentModel.Activity outerActivity);
static member RestoreFromDefaultSerializedForm : byte[] * System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.Activity
Protected Shared Function RestoreFromDefaultSerializedForm (activityBytes As Byte(), outerActivity As Activity) As Activity

Parameters

activityBytes
Byte[]

The serialized form of Activity.

outerActivity
Activity

The outer Activity, containing the Activity to restore.

Returns

The restored Activity.

Applies to