ProjectsAgentsModelFactory.ProtocolVersionRecord 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.
Overloads
| Name | Description |
|---|---|
| ProtocolVersionRecord(AgentProtocol, String) |
A record mapping for a single protocol and its version. |
| ProtocolVersionRecord(ProjectsAgentProtocol, String) |
A record mapping for a single protocol and its version. |
ProtocolVersionRecord(AgentProtocol, String)
A record mapping for a single protocol and its version.
public static Azure.AI.Projects.Agents.ProtocolVersionRecord ProtocolVersionRecord(Azure.AI.Projects.Agents.AgentProtocol protocol = default, string version = default);
static member ProtocolVersionRecord : Azure.AI.Projects.Agents.AgentProtocol * string -> Azure.AI.Projects.Agents.ProtocolVersionRecord
Public Shared Function ProtocolVersionRecord (Optional protocol As AgentProtocol = Nothing, Optional version As String = Nothing) As ProtocolVersionRecord
Parameters
- protocol
- AgentProtocol
The protocol type.
- version
- String
The version string for the protocol, e.g. 'v0.1.1'.
Returns
A new ProtocolVersionRecord instance for mocking.
Applies to
ProtocolVersionRecord(ProjectsAgentProtocol, String)
A record mapping for a single protocol and its version.
public static Azure.AI.Projects.Agents.ProtocolVersionRecord ProtocolVersionRecord(Azure.AI.Projects.Agents.ProjectsAgentProtocol protocol = default, string version = default);
static member ProtocolVersionRecord : Azure.AI.Projects.Agents.ProjectsAgentProtocol * string -> Azure.AI.Projects.Agents.ProtocolVersionRecord
Public Shared Function ProtocolVersionRecord (Optional protocol As ProjectsAgentProtocol = Nothing, Optional version As String = Nothing) As ProtocolVersionRecord
Parameters
- protocol
- ProjectsAgentProtocol
The protocol type.
- version
- String
The version string for the protocol, e.g. 'v0.1.1'.
Returns
A new ProtocolVersionRecord instance for mocking.