WorkflowInstance.ThrowIfReadOnly Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Activities.Hosting
Assembly:  System.Activities (in System.Activities.dll)

protected void ThrowIfReadOnly()

If IsReadOnly returns true, then an InvalidOperationException is thrown.

.NET Framework
Available since 4.0
Return to top