WorkflowRuntimeBehavior.Validate Method
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.
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.
Implements
IServiceBehavior.Validate(ServiceDescription, ServiceHostBase)| Exception | Condition |
|---|---|
| InvalidOperationException |
The wrong WorkflowSchedulerService is registered. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.