Share via


ProtocolVersionRecord Constructors

Definition

Overloads

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.

Applies to