WorkflowRuntimeBehavior Class

 
Note: This API is now obsolete.

Defines the behavior for the WorkflowRuntime associated with a WorkflowServiceHost.

Namespace:   System.ServiceModel.Description
Assembly:  System.WorkflowServices (in System.WorkflowServices.dll)

System.Object
  System.ServiceModel.Description.WorkflowRuntimeBehavior

[<ObsoleteAttribute("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")>]
type WorkflowRuntimeBehavior = 
    class
        interface IServiceBehavior
    end

NameDescription
System_CAPS_pubmethodWorkflowRuntimeBehavior()

Initializes a new instance of the WorkflowRuntimeBehavior class.

NameDescription
System_CAPS_pubpropertyCachedInstanceExpiration

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.

System_CAPS_pubpropertyWorkflowRuntime

Gets the WorkflowRuntime associated with a WorkflowServiceHost instance.

NameDescription
System_CAPS_pubmethodAddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection)

Not implemented in WorkflowRuntimeBehavior.

System_CAPS_pubmethodApplyDispatchBehavior(ServiceDescription, ServiceHostBase)

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

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodValidate(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.

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

.NET Framework
Available since 3.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: