C# Класс SenseNet.Workflow.InstanceManager

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Abort() публичный статический Метод

public static Abort ( WorkflowHandlerBase workflowInstance, WorkflowApplicationAbortReason reason ) : void
workflowInstance WorkflowHandlerBase
reason WorkflowApplicationAbortReason
Результат void

ExecuteDelays() публичный статический Метод

public static ExecuteDelays ( WorkflowHandlerBase workflowInstance ) : void
workflowInstance WorkflowHandlerBase
Результат void

FireNotification() публичный статический Метод

public static FireNotification ( WorkflowNotification notification, WorkflowNotificationEventArgs eventArgs ) : void
notification WorkflowNotification
eventArgs SenseNet.ContentRepository.WorkflowNotificationEventArgs
Результат void

GetPollingInstances() публичный статический Метод

public static GetPollingInstances ( ) : IEnumerable
Результат IEnumerable

NotifyContentChanged() публичный статический Метод

public static NotifyContentChanged ( WorkflowNotificationEventArgs eventArgs ) : void
eventArgs SenseNet.ContentRepository.WorkflowNotificationEventArgs
Результат void

RegisterWait() публичный статический Метод

public static RegisterWait ( int nodeID, System.Guid wfInstanceId, string bookMarkName, string wfContentPath ) : int
nodeID int
wfInstanceId System.Guid
bookMarkName string
wfContentPath string
Результат int

ReleaseWait() публичный статический Метод

public static ReleaseWait ( int notificationId ) : void
notificationId int
Результат void

Start() публичный статический Метод

public static Start ( WorkflowHandlerBase workflowInstance ) : System.Guid
workflowInstance WorkflowHandlerBase
Результат System.Guid

StartWorkflowSystem() публичный статический Метод

public static StartWorkflowSystem ( ) : void
Результат void

_Poll() публичный статический Метод

public static _Poll ( ) : void
Результат void