Bewerken

Delen via


XsltLibrary.FormatMessage(String, IList<String>) Method

Definition

Formats an exception message composed of a format string supplied by the res parameter and arguments contained by the args parameter.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 System::String ^ FormatMessage(System::String ^ res, System::Collections::Generic::IList<System::String ^> ^ args);
public string FormatMessage (string res, System.Collections.Generic.IList<string> args);
member this.FormatMessage : string * System.Collections.Generic.IList<string> -> string
Public Function FormatMessage (res As String, args As IList(Of String)) As String

Parameters

res
String

A string that contains the message resource.

args
IList<String>

A list of strings that represent arguments to the method.

Returns

A string that contains the formatted exception message.

Applies to