언어

ErrorSupport.GetFormattedMessage(Int32, String, Object[]) 메서드

정의

HRESULT의 오류 메시지를 받고, 제공된 값으로 매개변수를 채워 메시지를 포맷합니다.

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

매개 변수

hResult
Int32

서식화된 오류 메시지를 반환할 HRESULT.

strFormattedText
String

형식이 지정된 오류 메시지입니다.

paramList
Object[]

서식화된 오류 메시지에 필요한 매개변수 값 배열입니다.

반품

메서드가 GetFormattedMessage(Int32, String, Object[]) 성공했는지 실패했는지를 나타내는 값입니다. 0(0)이 되면 성공을 의미합니다.

적용 대상