Skip to content

Latest commit

 

History

History
79 lines (61 loc) · 2.55 KB

nf-wsmandisp-iwsmanex-geterrormessage.md

File metadata and controls

79 lines (61 loc) · 2.55 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wsmandisp.IWSManEx.GetErrorMessage
IWSManEx::GetErrorMessage (wsmandisp.h)
Returns a formatted string containing the text of an error number.
GetErrorMessage
GetErrorMessage method [Windows Remote Management]
GetErrorMessage method [Windows Remote Management]
IWSManEx interface
IWSManEx interface [Windows Remote Management]
GetErrorMessage method
IWSManEx.GetErrorMessage
IWSManEx::GetErrorMessage
winrm.iwsmanex_geterrormessage
wsmandisp/IWSManEx::GetErrorMessage
winrm\iwsmanex_geterrormessage.htm
winrm
af5ae515-458a-4d7f-80f8-0fd51f97e7f1
12/05/2018
GetErrorMessage, GetErrorMessage method [Windows Remote Management], GetErrorMessage method [Windows Remote Management],IWSManEx interface, IWSManEx interface [Windows Remote Management],GetErrorMessage method, IWSManEx.GetErrorMessage, IWSManEx::GetErrorMessage, winrm.iwsmanex_geterrormessage, wsmandisp/IWSManEx::GetErrorMessage
wsmandisp.h
Windows
Windows Vista
Windows Server 2008
WSManDisp.idl
WSManDisp.tlb
WSMAuto.dll
Windows
19H1
IWSManEx::GetErrorMessage
wsmandisp/IWSManEx::GetErrorMessage
c++
APIRef
kbSyntax
COM
WSMAuto.dll
IWSManEx.GetErrorMessage

IWSManEx::GetErrorMessage

-description

Returns a formatted string containing the text of an error number. This method performs the same operation as the Winrm command-line winrm helpmsg error number.

-parameters

-param errorNumber [in]

Error message number in decimal or hexadecimal from WinRM, WinHTTP, or other operating system components.

-param errorMessage [out]

Error message string formatted like messages returned from the Winrm command.

-returns

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

The corresponding scripting method is WSMan.GetErrorMessage.

-see-also

IWSManEx

IWSManSession