ExceptionHelpers.FormatExceptionMessage 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
FormatExceptionMessage(Exception, Object[]) | |
FormatExceptionMessage(Type, Object[]) |
FormatExceptionMessage(Exception, Object[])
public:
static System::String ^ FormatExceptionMessage(Exception ^ e, ... cli::array <System::Object ^> ^ args);
public static string FormatExceptionMessage (Exception e, params object[] args);
static member FormatExceptionMessage : Exception * obj[] -> string
Public Shared Function FormatExceptionMessage (e As Exception, ParamArray args As Object()) As String
參數
- args
- Object[]
傳回
適用於
FormatExceptionMessage(Type, Object[])
public:
static System::String ^ FormatExceptionMessage(Type ^ exeptionType, ... cli::array <System::Object ^> ^ args);
public static string FormatExceptionMessage (Type exeptionType, params object[] args);
static member FormatExceptionMessage : Type * obj[] -> string
Public Shared Function FormatExceptionMessage (exeptionType As Type, ParamArray args As Object()) As String
參數
- exeptionType
- Type
- args
- Object[]