EmailStore.CreateMailboxAsync 方法

定义

重载

CreateMailboxAsync(String, String)

允许应用根据帐户名称和电子邮件地址创建电子邮件帐户。

CreateMailboxAsync(String, String, String)

允许应用根据帐户名称、电子邮件地址和邮箱所在的用户数据帐户创建电子邮件帐户。

CreateMailboxAsync(String, String)

允许应用根据帐户名称和电子邮件地址创建电子邮件帐户。

public:
 virtual IAsyncOperation<EmailMailbox ^> ^ CreateMailboxAsync(Platform::String ^ accountName, Platform::String ^ accountAddress) = CreateMailboxAsync;
/// [Windows.Foundation.Metadata.Overload("CreateMailboxAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<EmailMailbox> CreateMailboxAsync(winrt::hstring const& accountName, winrt::hstring const& accountAddress);
[Windows.Foundation.Metadata.Overload("CreateMailboxAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<EmailMailbox> CreateMailboxAsync(string accountName, string accountAddress);
function createMailboxAsync(accountName, accountAddress)
Public Function CreateMailboxAsync (accountName As String, accountAddress As String) As IAsyncOperation(Of EmailMailbox)

参数

accountName
String

Platform::String

winrt::hstring

帐户的名称。

accountAddress
String

Platform::String

winrt::hstring

与帐户关联的电子邮件地址。

返回

电子邮件邮箱。

属性

Windows 要求

应用功能
email emailSystem

另请参阅

适用于

CreateMailboxAsync(String, String, String)

允许应用根据帐户名称、电子邮件地址和邮箱所在的用户数据帐户创建电子邮件帐户。

public:
 virtual IAsyncOperation<EmailMailbox ^> ^ CreateMailboxAsync(Platform::String ^ accountName, Platform::String ^ accountAddress, Platform::String ^ userDataAccountId) = CreateMailboxAsync;
/// [Windows.Foundation.Metadata.Overload("CreateMailboxInAccountAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<EmailMailbox> CreateMailboxAsync(winrt::hstring const& accountName, winrt::hstring const& accountAddress, winrt::hstring const& userDataAccountId);
[Windows.Foundation.Metadata.Overload("CreateMailboxInAccountAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<EmailMailbox> CreateMailboxAsync(string accountName, string accountAddress, string userDataAccountId);
function createMailboxAsync(accountName, accountAddress, userDataAccountId)
Public Function CreateMailboxAsync (accountName As String, accountAddress As String, userDataAccountId As String) As IAsyncOperation(Of EmailMailbox)

参数

accountName
String

Platform::String

winrt::hstring

帐户的名称。

accountAddress
String

Platform::String

winrt::hstring

与帐户关联的电子邮件地址。

userDataAccountId
String

Platform::String

winrt::hstring

与此用户关联的用户数据帐户标识符。

返回

电子邮件邮箱。

属性

Windows 要求

应用功能
email emailSystem

另请参阅

适用于