IPrintSchemaAsyncOperation 接口(printerextension.h)

表示用于验证、合并或提交作的异步作上下文。

遗产

IPrintSchemaAsyncOperation 接口继承自 IDispatch 接口。

方法

IPrintSchemaAsyncOperation 接口具有这些方法。

 
IPrintSchemaAsyncOperation::Cancel

取消异步 PrintSchema作。
IPrintSchemaAsyncOperation::Start

启动异步 PrintSchema作。

言论

任何实现 IPrintSchemaAsyncOperationEvent 的事件接收器都通过 IConnectionPoint 机制连接到关联的事件源(IPrintSchemaAsyncOperation)。 必须通过在 IPrinterQueue 对象上调用 QueryInterface 来检索指向 IConnectionPoint 接口的指针。

必须在实现 IPrinterQueueEvent的事件接收器上实现 IDispatch::Invoke,因为这是通过事件引发的机制。 它足以在 IDispatch 接口上提供其他方法的存根实现。

要求

要求 价值
最低支持的客户端 Windows 8
支持的最低服务器 Windows Server 2012
目标平台 窗户
标头 printerextension.h

另请参阅

IConnectionPoint

IPrintSchemaAsyncOperationEvent