Share via


ConnectedMachine.AgentVersionGetWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion> AgentVersionGetWithResult (string osType, string version, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync sender);
member this.AgentVersionGetWithResult : string * string * Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.ISendAsync -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentVersion>
Public Function AgentVersionGetWithResult (osType As String, version As String, eventListener As IEventListener, sender As ISendAsync) As Task(Of IAgentVersion)

Parameters

osType
String
version
String
eventListener
IEventListener
sender
ISendAsync

Returns

Applies to