Share via


EmailService.SenderUsernamesCreateOrUpdateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernameResource> SenderUsernamesCreateOrUpdateWithResult (string subscriptionId, string resourceGroupName, string emailServiceName, string domainName, string senderUsername, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernameResource body, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.SenderUsernamesCreateOrUpdateWithResult : string * string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernameResource * Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernameResource>
Public Function SenderUsernamesCreateOrUpdateWithResult (subscriptionId As String, resourceGroupName As String, emailServiceName As String, domainName As String, senderUsername As String, body As ISenderUsernameResource, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of ISenderUsernameResource)

Parameters

subscriptionId
String
resourceGroupName
String
emailServiceName
String
domainName
String
senderUsername
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to