IWorkspaceScriptable2::ResourceDismissed method

Alerts the user that a resource has been disabled or otherwise dismissed.

Syntax


HRESULT ResourceDismissed(
  [in] BSTR bstrWorkspaceId,
  [in] BSTR bstrWorkspaceFriendlyName
);

Parameters

bstrWorkspaceId [in]

String containing the ID of the workspace that contains the unavailable resource.

bstrWorkspaceFriendlyName [in]

String containing the friendly name of the workspace that holds the unavailable resource.

Return value

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

IDL

WorkspaceRuntime.idl

Type library

WkspRt.exe

IID

CLSID_Workspace is defined as 4F1DFCA6-3AAD-48E1-8406-4BC21A501D7C

IID_IWorkspaceScriptable2 is defined as EFEA49A2-DDA5-429D-8F42-B33BA2C4C348

See also

IWorkspaceScriptable3
IWorkspaceScriptable2

 

 

Show: