Share via


Policy.PolicyDefinitionsGetWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition> PolicyDefinitionsGetWithResult (string subscriptionId, string policyDefinitionName, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.ISendAsync sender);
member this.PolicyDefinitionsGetWithResult : string * string * Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.ISendAsync -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition>
Public Function PolicyDefinitionsGetWithResult (subscriptionId As String, policyDefinitionName As String, eventListener As IEventListener, sender As ISendAsync) As Task(Of IPolicyDefinition)

Parameters

subscriptionId
String
policyDefinitionName
String
eventListener
IEventListener
sender
ISendAsync

Returns

Applies to