Επεξεργασία

Κοινή χρήση μέσω


DefaultWorkflowLoaderService Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Represents the default version of WorkflowLoaderService created by the workflow runtime engine if no other workflow loader service is added.

public ref class DefaultWorkflowLoaderService : System::Workflow::Runtime::Hosting::WorkflowLoaderService
public class DefaultWorkflowLoaderService : System.Workflow.Runtime.Hosting.WorkflowLoaderService
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class DefaultWorkflowLoaderService : System.Workflow.Runtime.Hosting.WorkflowLoaderService
type DefaultWorkflowLoaderService = class
    inherit WorkflowLoaderService
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type DefaultWorkflowLoaderService = class
    inherit WorkflowLoaderService
Public Class DefaultWorkflowLoaderService
Inherits WorkflowLoaderService
Inheritance
DefaultWorkflowLoaderService
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

The WorkflowRuntime class creates a DefaultWorkflowLoaderService object when the runtime engine is started, if no other workflow loader service derived from WorkflowLoaderService has been added as a service.

Constructors

DefaultWorkflowLoaderService()

Initializes a new instance of the DefaultWorkflowLoaderService class.

Properties

Runtime

Gets the WorkflowRuntime for this service.

(Inherited from WorkflowRuntimeService)
State

Gets the state of the WorkflowRuntimeService.

(Inherited from WorkflowRuntimeService)

Methods

CreateInstance(Type)

Creates a root activity definition tree by using the specified workflow Type.

CreateInstance(XmlReader, XmlReader)

Creates a new root activity definition tree by deserializing the .xoml and the .rules files.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnStarted()

When overridden in a derived class, represents the method that will be called when the workflow runtime engine raises the Started event.

(Inherited from WorkflowRuntimeService)
OnStopped()

When overridden in a derived class, represents the method that will be called when the workflow runtime engine raises the Stopped event.

(Inherited from WorkflowRuntimeService)
RaiseServicesExceptionNotHandledEvent(Exception, Guid)

Raises the ServicesExceptionNotHandled event.

(Inherited from WorkflowRuntimeService)
Start()

When overridden in a derived class, starts the service and changes the State to Starting.

(Inherited from WorkflowRuntimeService)
Stop()

When overridden in a derived class, stops the service and changes the State to Stopping.

(Inherited from WorkflowRuntimeService)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to