ResilientTaskServiceProviderExtensions Class
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.
Resolves a registered resilient task's typed TaskDefinition<TInput,TOutput>
handle from a built IServiceProvider. Every task registered with
AddResilientTask/AddResilientMultiTurnTask is also registered as a keyed singleton
service, keyed by its task name β this is the sanctioned way to resolve it. Resolution is always
by name (never ambiguous), because multiple tasks may share the same
TInput/TOutput pair.
public static class ResilientTaskServiceProviderExtensions
type ResilientTaskServiceProviderExtensions = class
Public Module ResilientTaskServiceProviderExtensions
- Inheritance
-
ResilientTaskServiceProviderExtensions
Methods
| Name | Description |
|---|---|
| GetResilientTask<TInput,TOutput>(IServiceProvider, String) |
Resolves the typed TaskDefinition<TInput,TOutput> handle for the task
registered under |