WorkflowInstance.ThrowIfReadOnly Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.