WorkflowRuntimeBehavior Class

Definition

Caution

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

Defines the behavior for the WorkflowRuntime associated with a WorkflowServiceHost.

public ref class WorkflowRuntimeBehavior : System::ServiceModel::Description::IServiceBehavior
public class WorkflowRuntimeBehavior : System.ServiceModel.Description.IServiceBehavior
[System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")]
public class WorkflowRuntimeBehavior : System.ServiceModel.Description.IServiceBehavior
type WorkflowRuntimeBehavior = class
    interface IServiceBehavior
[<System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")>]
type WorkflowRuntimeBehavior = class
    interface IServiceBehavior
Public Class WorkflowRuntimeBehavior
Implements IServiceBehavior
Inheritance
WorkflowRuntimeBehavior
Attributes
Implements

Remarks

Use WorkflowRuntimeBehavior to access the WorkflowRuntime object in your workflow service. The WorkflowRuntime object is added by default when the WorkflowServiceHost is created.

Constructors

WorkflowRuntimeBehavior()

Initializes a new instance of the WorkflowRuntimeBehavior class.

Properties

CachedInstanceExpiration

Gets or sets a value that indicates how long a workflow instance stays in-memory in the idle state before it is forcibly removed from memory.

WorkflowRuntime

Gets the WorkflowRuntime associated with a WorkflowServiceHost instance.

Methods

AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection)

Not implemented in WorkflowRuntimeBehavior.

ApplyDispatchBehavior(ServiceDescription, ServiceHostBase)

Configures the workflow service to support the workflow run-time behavior.

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)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
Validate(ServiceDescription, ServiceHostBase)

Verifies the scheduling service used for workflow services has been added to the WorkflowRuntime object and that the WorkflowRuntime object has not started before the call to Open.

Applies to