IDeveloperConsoleMessageReceiver::WriteWithUrl method
Used to log a message from Windows Internet Explorer that also contains the URL that originated the issue.
Syntax
HRESULT WriteWithUrl(
[in] LPCWSTR source,
[in] DEV_CONSOLE_MESSAGE_LEVEL level,
[in] int messageId,
[in] LPCWSTR messageText,
[in] LPCWSTR fileUrl
);
Parameters
source [in]
A friendly name for the component in Internet Explorer that logs the message.level [in]
The level of the message, for example Information, Warning or Error. Must be a value from the DEV_CONSOLE_MESSAGE_LEVEL enum.messageId [in]
The ID for the message. The messageId is unique for each source.messageText [in]
The text of the message to be displayed to the user. The text is localized to the Internet Explorer language and might contain RLE and PDF markers in some cases.fileUrl [in]
The URL relevant to the message. For example, in the case of mixed content warnings, this would be the URL of the HTML file that made the request.
Return value
The return value is ignored.
Requirements
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Header |
Mshtml.h |
IDL |
Mshtml.idl |