共用方式為


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

另請參閱

適用於