WorkflowRuntimeBehavior WorkflowRuntimeBehavior WorkflowRuntimeBehavior WorkflowRuntimeBehavior Class

Definition

Warning

This API is now obsolete.

Defines the behavior for the WorkflowRuntime associated with a WorkflowServiceHost.

public ref 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
Public Class WorkflowRuntimeBehavior
Implements IServiceBehavior
Inheritance
WorkflowRuntimeBehaviorWorkflowRuntimeBehaviorWorkflowRuntimeBehaviorWorkflowRuntimeBehavior
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() WorkflowRuntimeBehavior() WorkflowRuntimeBehavior() WorkflowRuntimeBehavior()

Initializes a new instance of the WorkflowRuntimeBehavior class.

Properties

CachedInstanceExpiration CachedInstanceExpiration CachedInstanceExpiration 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 WorkflowRuntime WorkflowRuntime WorkflowRuntime

Gets the WorkflowRuntime associated with a WorkflowServiceHost instance.

Methods

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

Not implemented in WorkflowRuntimeBehavior.

ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) ApplyDispatchBehavior(ServiceDescription, ServiceHostBase)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
Validate(ServiceDescription, ServiceHostBase) Validate(ServiceDescription, ServiceHostBase) Validate(ServiceDescription, ServiceHostBase) 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.

Explicit Interface Implementations

IWmiInstanceProvider.FillInstance(IWmiInstance) IWmiInstanceProvider.FillInstance(IWmiInstance) IWmiInstanceProvider.FillInstance(IWmiInstance) IWmiInstanceProvider.FillInstance(IWmiInstance)
IWmiInstanceProvider.GetInstanceType() IWmiInstanceProvider.GetInstanceType() IWmiInstanceProvider.GetInstanceType() IWmiInstanceProvider.GetInstanceType()

Applies to