WorkflowCompilationContext.CreateScope(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a WorkflowCompilationContext class at the current scope.
public:
static IDisposable ^ CreateScope(IServiceProvider ^ serviceProvider);
public static IDisposable CreateScope (IServiceProvider serviceProvider);
static member CreateScope : IServiceProvider -> IDisposable
Public Shared Function CreateScope (serviceProvider As IServiceProvider) As IDisposable
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.