Export (0) Print
Expand All

IComHandlerAction::Data property

Gets or sets additional data that is associated with the handler.

This property is read/write.

Syntax


HRESULT put_Data(
  [in]   BSTR data
);

HRESULT get_Data(
  [out]  BSTR *pData
);

Property value

The arguments that are needed by the handler.

Error codes

NameMeaning
S_OK

The property value was successfully set or retrieved.

Remarks

When reading or writing XML, the data of a COM handler is specified in the Data element of the Task Scheduler schema.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Taskschd.h

Library

Taskschd.lib

DLL

Taskschd.dll

See also

Task Scheduler
IComHandlerAction

 

 

Community Additions

ADD
Show:
© 2014 Microsoft