Search

Search:

Namespace:

Search Result
.
Summary
Use to notify the WorkflowRuntime of an unhandled exception in a WorkflowRuntimeService derived type.
.

Collection of objects that actually do most of the work in WF. There are some required services that are always present, if the developer add one that is used otherwise a default is used. For example the DefaultWorkflowSchedulerService is the default implementation of the rquired WorkflowSchedulerService. Some other RuntimeServices are optional but provided out of the box like the SqlWorkflowPersistenceService. If not provided there is no default and this functionality is unavailable. The third kind of RuntimeServices is the custom RuntimeServices usually developed in combination with a custom workflow Activity. These services can use the WorkflowRuntimeService as a base class although this is not required and they can derive from another class is so desired. Use the WorkflowRuntime AddService function to configure the WorkflowRuntime.

.

Hosting the workflow runtime in a WorkflowServiceHost is nice but in all likelihood you will also need to configure the workflow runtime itself and add some WorkflowRuntimeService to it. So how to do this when you never actually create the workflow runtime yourself?

.

All services deriving from WorkflowRuntimeService can use the RaiseServicesExceptionNotHandledEvent function that some kind of exception occurred that it was unable to handle.

.

public class WriteLineService3: WorkflowRuntimeService

.

During normal operations a WorkflowRuntimeService will enqueue some data and the activity listening for it will use the QueueItemAvailable event handler to receive the messages.

.

The WorkflowRuntime provides a number of services, all derived from WorkflowRuntimeService, for the executing Workflows:

.
Summary