IDeviceAgentTransport.UnregisterShutdownCallback 方法

更新:2007 年 11 月

取消对回调的注册。该回调将不会再收到关闭通知。

命名空间:  Microsoft.SmartDevice.DeviceAgentTransport
程序集:  Microsoft.SmartDevice.DeviceAgentTransport(在 Microsoft.SmartDevice.DeviceAgentTransport.dll 中)

语法

声明
Sub UnregisterShutdownCallback ( _
    in_pCallback As IAgentTransportShutdownCallback _
)
用法
Dim instance As IDeviceAgentTransport
Dim in_pCallback As IAgentTransportShutdownCallback

instance.UnregisterShutdownCallback(in_pCallback)
void UnregisterShutdownCallback(
    IAgentTransportShutdownCallback in_pCallback
)
void UnregisterShutdownCallback(
    [InAttribute] IAgentTransportShutdownCallback^ in_pCallback
)
function UnregisterShutdownCallback(
    in_pCallback : IAgentTransportShutdownCallback
)

参数

异常

异常 条件
COMException

HRESULT 信息:

  • E_INVALIDARG | 参数无效

  • E_FAIL | 返回指示任何其他失败情况的值

权限

另请参见

参考

IDeviceAgentTransport 接口

IDeviceAgentTransport 成员

Microsoft.SmartDevice.DeviceAgentTransport 命名空间