Partager via


MSGraph.ServicePrincipalsServicePrincipalCreateServicePrincipalWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipal> ServicePrincipalsServicePrincipalCreateServicePrincipalWithResult (Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipal body, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.ServicePrincipalsServicePrincipalCreateServicePrincipalWithResult : Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipal * Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipal>
Public Function ServicePrincipalsServicePrincipalCreateServicePrincipalWithResult (body As IMicrosoftGraphServicePrincipal, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IMicrosoftGraphServicePrincipal)

Parameters

eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to