UserProfileMemoryItem Constructors
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.
Overloads
| Name | Description |
|---|---|
| UserProfileMemoryItem() |
Initializes a new instance of UserProfileMemoryItem for deserialization. |
| UserProfileMemoryItem(String, DateTimeOffset, String, String) |
Initializes a new instance of UserProfileMemoryItem. |
| UserProfileMemoryItem(String, DateTimeOffset, String, String, MemoryItemKind, IDictionary<String,BinaryData>) |
Initializes a new instance of UserProfileMemoryItem. |
UserProfileMemoryItem()
- Source:
- UserProfileMemoryItem.cs
Initializes a new instance of UserProfileMemoryItem for deserialization.
public UserProfileMemoryItem();
Public Sub New ()
Applies to
UserProfileMemoryItem(String, DateTimeOffset, String, String)
- Source:
- UserProfileMemoryItem.cs
Initializes a new instance of UserProfileMemoryItem.
public UserProfileMemoryItem(string memoryId, DateTimeOffset updatedAt, string scope, string content);
new Azure.AI.AgentServer.Contracts.Generated.MemoryStore.UserProfileMemoryItem : string * DateTimeOffset * string * string -> Azure.AI.AgentServer.Contracts.Generated.MemoryStore.UserProfileMemoryItem
Public Sub New (memoryId As String, updatedAt As DateTimeOffset, scope As String, content As String)
Parameters
- memoryId
- String
The unique ID of the memory item.
- updatedAt
- DateTimeOffset
The last update time of the memory item.
- scope
- String
The namespace that logically groups and isolates memories, such as a user ID.
- content
- String
The content of the memory.
Exceptions
memoryId, scope or content is null.
Applies to
UserProfileMemoryItem(String, DateTimeOffset, String, String, MemoryItemKind, IDictionary<String,BinaryData>)
- Source:
- UserProfileMemoryItem.cs
Initializes a new instance of UserProfileMemoryItem.
public UserProfileMemoryItem(string memoryId, DateTimeOffset updatedAt, string scope, string content, Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryItemKind kind, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData);
new Azure.AI.AgentServer.Contracts.Generated.MemoryStore.UserProfileMemoryItem : string * DateTimeOffset * string * string * Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryItemKind * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.AgentServer.Contracts.Generated.MemoryStore.UserProfileMemoryItem
Public Sub New (memoryId As String, updatedAt As DateTimeOffset, scope As String, content As String, kind As MemoryItemKind, serializedAdditionalRawData As IDictionary(Of String, BinaryData))
Parameters
- memoryId
- String
The unique ID of the memory item.
- updatedAt
- DateTimeOffset
The last update time of the memory item.
- scope
- String
The namespace that logically groups and isolates memories, such as a user ID.
- content
- String
The content of the memory.
- kind
- MemoryItemKind
The kind of the memory item.
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.