ProtocolVersionRecord 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 |
|---|---|
| ProtocolVersionRecord(AgentProtocol, String) |
Initializes a new instance of ProtocolVersionRecord. |
| ProtocolVersionRecord(ProjectsAgentProtocol, String) |
Initializes a new instance of ProtocolVersionRecord. |
ProtocolVersionRecord(AgentProtocol, String)
- Source:
- ProtocolVersionRecord.cs
Initializes a new instance of ProtocolVersionRecord.
public ProtocolVersionRecord(Azure.AI.Projects.Agents.AgentProtocol protocol, string version);
new Azure.AI.Projects.Agents.ProtocolVersionRecord : Azure.AI.Projects.Agents.AgentProtocol * string -> Azure.AI.Projects.Agents.ProtocolVersionRecord
Public Sub New (protocol As AgentProtocol, version As String)
Parameters
- protocol
- AgentProtocol
The protocol type.
- version
- String
The version string for the protocol, e.g. 'v0.1.1'.
Exceptions
version is null.
Applies to
ProtocolVersionRecord(ProjectsAgentProtocol, String)
- Source:
- ProtocolVersionRecord.cs
Initializes a new instance of ProtocolVersionRecord.
public ProtocolVersionRecord(Azure.AI.Projects.Agents.ProjectsAgentProtocol protocol, string version);
new Azure.AI.Projects.Agents.ProtocolVersionRecord : Azure.AI.Projects.Agents.ProjectsAgentProtocol * string -> Azure.AI.Projects.Agents.ProtocolVersionRecord
Public Sub New (protocol As ProjectsAgentProtocol, version As String)
Parameters
- protocol
- ProjectsAgentProtocol
The protocol type.
- version
- String
The version string for the protocol, e.g. 'v0.1.1'.
Exceptions
version is null.