Edit

Share via


WorkflowInstance.ThrowIfReadOnly Method

Definition

Throws an InvalidOperationException if the workflow instance has been initialized, as determined by IsReadOnly.

protected:
 void ThrowIfReadOnly();
protected void ThrowIfReadOnly ();
member this.ThrowIfReadOnly : unit -> unit
Protected Sub ThrowIfReadOnly ()

Remarks

If IsReadOnly returns true, then an InvalidOperationException is thrown.

Applies to