FileAccessProvider(AgentFileStore, FileAccessProviderOptions) 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 FileAccessProvider class.
public FileAccessProvider(Microsoft.Agents.AI.AgentFileStore fileStore, Microsoft.Agents.AI.FileAccessProviderOptions? options = default);
new Microsoft.Agents.AI.FileAccessProvider : Microsoft.Agents.AI.AgentFileStore * Microsoft.Agents.AI.FileAccessProviderOptions -> Microsoft.Agents.AI.FileAccessProvider
Public Sub New (fileStore As AgentFileStore, Optional options As FileAccessProviderOptions = Nothing)
Parameters
- fileStore
- AgentFileStore
The file store implementation used for storage operations. The store should already be scoped to the desired folder or storage location.
- options
- FileAccessProviderOptions
Optional settings that control provider behavior. When null, defaults are used.
Exceptions
Thrown when fileStore is null.