ErrorSupport.GetFormattedMessageEx(Int32, String, Object[]) メソッド

定義

HRESULTのエラーメッセージを取得し、提供された値でパラメータを入力することでメッセージをフォーマットします。

public:
 static int GetFormattedMessageEx(int hResult, [Runtime::InteropServices::Out] System::String ^ % strFormattedText, ... cli::array <System::Object ^> ^ paramList);
public static int GetFormattedMessageEx(int hResult, out string strFormattedText, params object[] paramList);
static member GetFormattedMessageEx : int * string * obj[] -> int
Public Shared Function GetFormattedMessageEx (hResult As Integer, ByRef strFormattedText As String, ParamArray paramList As Object()) As Integer

パラメーター

hResult
Int32

フォーマット済みエラーメッセージを返すためのHRESULTです。

strFormattedText
String

書式設定されたエラー メッセージ。

paramList
Object[]

フォーマットされたエラーメッセージに必要なパラメータ値の配列です。

返品

メソッドが成功したか失敗したかを示す値です。

適用対象