WorkflowInstanceExtensionManager.MakeReadOnly Method

Definition

Marks the collection of extensions as read-only.

public:
 void MakeReadOnly();
public void MakeReadOnly ();
member this.MakeReadOnly : unit -> unit
Public Sub MakeReadOnly ()

Remarks

This method is called when a workflow host is prepared for execution. If any of the Add overloads are called after MakeReadOnly, an InvalidOperationException is thrown.

Applies to