Share via


IComSoapPublisher.CreateMailBox 方法

定義

在指定的 URL 建立啟用 SOAP 的 COM+ 應用程式信箱。 未完整實作。

public:
 void CreateMailBox(System::String ^ RootMailServer, System::String ^ MailBox, [Runtime::InteropServices::Out] System::String ^ % SmtpName, [Runtime::InteropServices::Out] System::String ^ % Domain, [Runtime::InteropServices::Out] System::String ^ % PhysicalPath, [Runtime::InteropServices::Out] System::String ^ % Error);
public void CreateMailBox (string RootMailServer, string MailBox, out string SmtpName, out string Domain, out string PhysicalPath, out string Error);
abstract member CreateMailBox : string * string * string * string * string * string -> unit
Public Sub CreateMailBox (RootMailServer As String, MailBox As String, ByRef SmtpName As String, ByRef Domain As String, ByRef PhysicalPath As String, ByRef Error As String)

參數

RootMailServer
String

根郵件伺服器的 URL。

MailBox
String

要建立的信箱。

SmtpName
String

當這個方法傳回時,這個參數會包含內含信箱的 Simple Mail Transfer Protocol (SMTP) 伺服器名稱。

Domain
String

當這個方法傳回時,這個參數會包含 SMTP 伺服器的網域。

PhysicalPath
String

當這個方法傳回時,這個參數會包含信箱的檔案系統路徑。

Error
String

如果遇到問題,則這個方法傳回時,這個參數會包含錯誤訊息。

例外狀況

呼叫鏈結中的呼叫端沒有存取 Unmanaged 程式碼的使用權限。

備註

未完全實作;目前不會建立信箱。 傳回錯誤訊息「不支援 COM+ SOAP 服務 SMTP 發行集」。

適用於