Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the error message for an HRESULT and formats the message by populating parameters with the supplied values.
Namespace: Microsoft.SqlServer.Dts.ManagedMsg
Assembly: Microsoft.SqlServer.DtsMsg (in Microsoft.SqlServer.DtsMsg.dll)
Syntax
'Declaration
Public Shared Function GetFormattedMessageEx ( _
hResult As Integer, _
<OutAttribute> ByRef strFormattedText As String, _
ParamArray paramList As Object() _
) As Integer
'Usage
Dim hResult As Integer
Dim strFormattedText As String
Dim paramList As Object()
Dim returnValue As Integer
returnValue = ErrorSupport.GetFormattedMessageEx(hResult, _
strFormattedText, paramList)
public static int GetFormattedMessageEx(
int hResult,
out string strFormattedText,
params Object[] paramList
)
public:
static int GetFormattedMessageEx(
int hResult,
[OutAttribute] String^% strFormattedText,
... array<Object^>^ paramList
)
static member GetFormattedMessageEx :
hResult:int *
strFormattedText:string byref *
paramList:Object[] -> int
public static function GetFormattedMessageEx(
hResult : int,
strFormattedText : String,
... paramList : Object[]
) : int
Parameter
- hResult
Typ: System.Int32
The HRESULT for which to return the formatted error message.
- strFormattedText
Typ: System.String%
The formatted error message.
- paramList
Typ: array<System.Object[]
An array of parameter values required for the formatted error message.
Rückgabewert
Typ: System.Int32
A value that indicates whether the method succeeded or failed.