Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

狀況

請考慮下列情況:

  1. 您執行 Exchange Web 服務 」 (EWS) 應用程式來建立包含檔案附件的 MIME 電子郵件訊息。

  2. 在應用程式的程式碼中,您可以指定 EWS 的 ExchangeService 物件的版本。例如︰

    ExchangeService esb = new ExchangeService(ExchangeVersion.Exchange2010_SP2);

在這個案例中,呼叫EmailMessage.Save方法時,就會失敗的應用程式。擲回下列例外狀況︰

System.ArgumentOutOfRangeException︰ 索引超出範圍。


解決方案

若要解決這個問題,安裝下列更新彙總套件︰

更新彙總套件 1 的說明,對於 Exchange Server 2010 Service Pack 3

狀態

Microsoft 已確認這是<套用>一節所列出的 Microsoft 產品的問題。

更多的資訊

如需有關EmailMessage.Save方法的詳細資訊,請前往 Microsoft 的 MSDN 網站。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×