ExceptionMessageBox.GetMessageText(Exception) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這項功能將在未來的 SQL Server Microsoft 版本中移除。 請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。 請改用 GetMessageText(Exception)。
public:
static System::String ^ GetMessageText(Exception ^ exception);
public static string GetMessageText(Exception exception);
static member GetMessageText : Exception -> string
Public Shared Function GetMessageText (exception As Exception) As String
參數
傳回
包含訊息完整內容的A String 。