Share via


Policy.PolicyAssignmentsGetByIdWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment> PolicyAssignmentsGetByIdWithResult (string policyAssignmentId, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.ISendAsync sender);
member this.PolicyAssignmentsGetByIdWithResult : 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.IPolicyAssignment>
Public Function PolicyAssignmentsGetByIdWithResult (policyAssignmentId As String, eventListener As IEventListener, sender As ISendAsync) As Task(Of IPolicyAssignment)

Parameters

policyAssignmentId
String
eventListener
IEventListener
sender
ISendAsync

Returns

Applies to