This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public sealed class Workflow
Visual Basic (Declaration) Copy imageCopy Code
                                  Public NotInheritable Class Workflow

This class contains the error codes that are raised by Smartsite.

The ErrorCodes type exposes the following members.

Public Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Fields

  Name Description
Public field Static member ActivityFaulted
A workflow activity terminated because an exception occurred in the implementation of the activity.
Public field Static member ActivityNotFound
Workflow activity not found.
Public field Static member ActivityStateNotDefined
An activity requires a state name; the state is however not defined for the activity.
Public field Static member BookmarkNotFound
Failure to resume a workflow because the specified resumption bookmark was not found.
Public field Static member BookmarkNotReady
Failure to resume a workflow because the specified resumption bookmark was not yet created.
Public field Static member CannotEstablishDefinition
Failure to establish a workflow definition, for example the workflow definition is not found given an identification. The workflow definition is a xaml XML definition.
Public field Static member CannotEstablishUserForRequest
Failure to establish the current user when performing a workflow request. A user context is required for all initiated workflow requests.
Public field Static member DatabaseNotPreparedForInstanceStoring
The database used for persistence of workflows is not (properly) prepared with the tables, views and other support as required by the workflow instance store.
Public field Static member InstanceExists
Workflow instance exists already.
Public field Static member InstanceNotFound
Workflow instance not found.
Public field Static member InstanceNotReady
The workflow instance exists, but is not ready to be resumed or is not ready for some other operation.
Public field Static member InstanceReservationConflict
Workflow instance reserved by one thread and accessed by another thread.
Public field Static member InternalError
Internal error in the workflow subsystem, for example as the result of a failed internal assertion.
Public field Static member InvalidMethodArgument
An argument passed to a method is invalid, for example null or empty when not expected. Arguments are normally checked once, at the entry of the workflow subsystem.
Public field Static member MismatchBetweenStateAndBookmarkName
A mismatch is detected when converting a state to a bookmark name or when converting a bookmark name to a state.
Public field Static member TimeoutWhenReservingInstance
Timeout when attempting to reserve a workflow instance for exclusive access.
Public field Static member WorkflowFaulted
A workflow faulted, causing termination of the workflow instance.
Public field Static member XamlDefinitionAnalysisFailed
Failure when analyzing the XML of a xaml workflow definition.

See Also

Advanced