WorkflowCompilationContext.CreateScope(IServiceProvider) Method

Definition

Initializes a WorkflowCompilationContext class at the current scope.

C#
public static IDisposable CreateScope(IServiceProvider serviceProvider);

Parameters

serviceProvider
IServiceProvider

The workflow compiler options for the current scope.

Returns

A reference to the scope.

Remarks

The serviceProvider parameter is the general property bag for the scope; if it contains an IWorkflowCompilerOptionsService the context is set according to that service.

Applies to

Produkt Verze
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1