C# Class SenseNet.Workflow.InstanceManager

Afficher le fichier Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Свойство Type Description
CreateInstanceStore System.Activities.DurableInstancing.SqlWorkflowInstanceStore
CreateRelatedContentProtector IDisposable
CreateWorkflowApplication System.Activities.WorkflowApplication
DeleteNotifications void
DumpException string
DumpException string
DumpTypeLoadError void
GetAbortMessage string
GetDataContext WorkflowDataClassesDataContext
GetStateContent WorkflowHandlerBase
GetStateContent WorkflowHandlerBase
GetWorkflowHostTypeName System.Xml.Linq.XName
GetWorkflowHostTypePropertyName System.Xml.Linq.XName
HandleError UnhandledExceptionAction
InstanceManager System
OnWorkflowAborted void
OnWorkflowCompleted void
PollTimerDisposed void
PollTimerElapsed void
ValidWakedUpWorkflow bool
WriteBackAbortMessage void
WriteBackAbortMessage void
WriteBackTheState void

Méthodes publiques

Méthode Description
Abort ( WorkflowHandlerBase workflowInstance, WorkflowApplicationAbortReason reason ) : void
ExecuteDelays ( WorkflowHandlerBase workflowInstance ) : void
FireNotification ( WorkflowNotification notification, WorkflowNotificationEventArgs eventArgs ) : void
GetPollingInstances ( ) : IEnumerable
NotifyContentChanged ( WorkflowNotificationEventArgs eventArgs ) : void
RegisterWait ( int nodeID, System.Guid wfInstanceId, string bookMarkName, string wfContentPath ) : int
ReleaseWait ( int notificationId ) : void
Start ( WorkflowHandlerBase workflowInstance ) : System.Guid
StartWorkflowSystem ( ) : void
_Poll ( ) : void

Private Methods

Méthode Description
CreateInstanceStore ( WorkflowHandlerBase workflowInstance ) : System.Activities.DurableInstancing.SqlWorkflowInstanceStore
CreateRelatedContentProtector ( Node node, ActivityContext context ) : IDisposable
CreateWorkflowApplication ( WorkflowHandlerBase workflowInstance, WorkflowApplicationCreationPurpose purpose, object>.IDictionary parameters ) : System.Activities.WorkflowApplication
DeleteNotifications ( System.Guid instanceId ) : void
DumpException ( Exception e ) : string
DumpException ( System.Activities.WorkflowApplicationUnhandledExceptionEventArgs args ) : string
DumpTypeLoadError ( ReflectionTypeLoadException exc, StringBuilder sb ) : void
GetAbortMessage ( WorkflowApplicationAbortReason reason, WorkflowHandlerBase workflow ) : string
GetDataContext ( ) : WorkflowDataClassesDataContext
GetStateContent ( System.Guid instanceId ) : WorkflowHandlerBase
GetStateContent ( System.Activities.WorkflowApplicationUnhandledExceptionEventArgs args ) : WorkflowHandlerBase
GetWorkflowHostTypeName ( WorkflowHandlerBase workflowInstance ) : System.Xml.Linq.XName
GetWorkflowHostTypePropertyName ( ) : System.Xml.Linq.XName
HandleError ( System.Activities.WorkflowApplicationUnhandledExceptionEventArgs args ) : UnhandledExceptionAction
InstanceManager ( ) : System
OnWorkflowAborted ( System.Activities.WorkflowApplicationAbortedEventArgs args ) : void
OnWorkflowCompleted ( System.Activities.WorkflowApplicationCompletedEventArgs args ) : void
PollTimerDisposed ( object sender, EventArgs e ) : void
PollTimerElapsed ( object sender, System e ) : void
ValidWakedUpWorkflow ( System.Activities.WorkflowApplication wfApp ) : bool
WriteBackAbortMessage ( WorkflowHandlerBase stateContent, WorkflowApplicationAbortReason reason ) : void
WriteBackAbortMessage ( WorkflowHandlerBase stateContent, string abortMessage ) : void
WriteBackTheState ( WorkflowStatusEnum state, System.Guid instanceId ) : void

Method Details

Abort() public static méthode

public static Abort ( WorkflowHandlerBase workflowInstance, WorkflowApplicationAbortReason reason ) : void
workflowInstance WorkflowHandlerBase
reason WorkflowApplicationAbortReason
Résultat void

ExecuteDelays() public static méthode

public static ExecuteDelays ( WorkflowHandlerBase workflowInstance ) : void
workflowInstance WorkflowHandlerBase
Résultat void

FireNotification() public static méthode

public static FireNotification ( WorkflowNotification notification, WorkflowNotificationEventArgs eventArgs ) : void
notification WorkflowNotification
eventArgs SenseNet.ContentRepository.WorkflowNotificationEventArgs
Résultat void

GetPollingInstances() public static méthode

public static GetPollingInstances ( ) : IEnumerable
Résultat IEnumerable

NotifyContentChanged() public static méthode

public static NotifyContentChanged ( WorkflowNotificationEventArgs eventArgs ) : void
eventArgs SenseNet.ContentRepository.WorkflowNotificationEventArgs
Résultat void

RegisterWait() public static méthode

public static RegisterWait ( int nodeID, System.Guid wfInstanceId, string bookMarkName, string wfContentPath ) : int
nodeID int
wfInstanceId System.Guid
bookMarkName string
wfContentPath string
Résultat int

ReleaseWait() public static méthode

public static ReleaseWait ( int notificationId ) : void
notificationId int
Résultat void

Start() public static méthode

public static Start ( WorkflowHandlerBase workflowInstance ) : System.Guid
workflowInstance WorkflowHandlerBase
Résultat System.Guid

StartWorkflowSystem() public static méthode

public static StartWorkflowSystem ( ) : void
Résultat void

_Poll() public static méthode

public static _Poll ( ) : void
Résultat void