ProactiveOptions(IStorage, IConfiguration, String) Constructor
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 new instance of the ProactiveOptions class using the specified storage and optional configuration settings.
public ProactiveOptions(Microsoft.Agents.Storage.IStorage storage, Microsoft.Extensions.Configuration.IConfiguration configuration = default, string configKey = "Proactive");
new Microsoft.Agents.Builder.App.Proactive.ProactiveOptions : Microsoft.Agents.Storage.IStorage * Microsoft.Extensions.Configuration.IConfiguration * string -> Microsoft.Agents.Builder.App.Proactive.ProactiveOptions
Public Sub New (storage As IStorage, Optional configuration As IConfiguration = Nothing, Optional configKey As String = "Proactive")
Parameters
- storage
- IStorage
The storage provider used to persist proactive options. Cannot be null.
- configuration
- IConfiguration
An optional configuration source from which to read additional settings. If null, configuration values are not loaded.
- configKey
- String
The configuration section key to use when retrieving settings from the configuration source. Defaults to "Proactive".
Remarks
If a configuration source is provided and contains the specified section, relevant options such as FailOnUnsignedInConnections are loaded from that section. Otherwise, default values are used.