IWorkspaceReportMessage::IsErrorMessageRegistered method

Determines whether a specified error message is registered in a specified workspace.

Syntax

HRESULT IsErrorMessageRegistered(
  BSTR         bstrWkspId,
  DWORD        dwErrorType,
  BSTR         bstrErrorMessageType,
  DWORD        dwErrorCode,
  VARIANT_BOOL *pfErrorExist
);

Parameters

bstrWkspId

A string containing the ID of the workspace to check.

dwErrorType

The error type associated with the error message.

bstrErrorMessageType

A string containing the error message type.

dwErrorCode

The error code of the event.

pfErrorExist

On success, returns a pointer to VARIANT_TRUE if the error message is registered in the specified workspace; otherwise, VARIANT_FALSE.

Return Value

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

Requirements

   
Windows version Windows 8 Windows Server 2012
Target Platform Windows
Header workspaceruntime.h

See Also

IWorkspaceReportMessage