WorkflowRuntimeBehavior.Validate Method (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.

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

public void Validate(
	ServiceDescription serviceDescription,
	ServiceHostBase serviceHostBase
)

Parameters

serviceDescription
Type: System.ServiceModel.Description.ServiceDescription

The service description.

serviceHostBase
Type: System.ServiceModel.ServiceHostBase

The service host.

Exception Condition
InvalidOperationException

The wrong WorkflowSchedulerService is registered.

.NET Framework
Available since 3.5
Return to top
Show: