你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EmailTemplateOperationsExtensions.GetAsync 方法

定义

获取由其标识符指定的电子邮件模板的详细信息。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateContract> GetAsync(this Microsoft.Azure.Management.ApiManagement.IEmailTemplateOperations operations, string resourceGroupName, string serviceName, string templateName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ApiManagement.IEmailTemplateOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateContract>
<Extension()>
Public Function GetAsync (operations As IEmailTemplateOperations, resourceGroupName As String, serviceName As String, templateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EmailTemplateContract)

参数

operations
IEmailTemplateOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

serviceName
String

API 管理服务的名称。

templateName
String

Email模板名称标识符。 可能的值包括:“applicationApprovedNotificationMessage”、“accountClosedDeveloper”、“quotaLimitApproachingDeveloperNotificationMessage”、“newDeveloperNotificationMessage”, “emailChangeIdentityDefault”、“inviteUserNotificationMessage”、“newCommentNotificationMessage”、“confirmSignUpIdentityDefault”、“newIssueNotificationMessage”、“purchaseDeveloperNotificationMessage”、“passwordResetIdentityDefault”、“passwordResetByAdminNotificationMessage”、“'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage'

cancellationToken
CancellationToken

取消标记。

返回

适用于