Tuesday, January 04, 2005

MSBTS_ServiceInstanceSuspendedEvent Issue

The MSBTS_ServiceInstanceSuspendedEvent does not fire when the data is suspended as resumable.

To ensure that the resumable suspended item is noticed, the following WMI select statement must be used in the SuspendedQListener:

SELECT * FROM MSBTS_MessageInstance WHERE ServiceInstanceStatus =" + (uint)ServiceInstanceStatus.Suspended_Not_Resumable + " or ServiceInstanceStatus = " + (uint)ServiceInstanceStatus.Suspended_Resumable;

The SuspenedQListener does not have the ServiceInstanceStatus.Suspended_Resumable value in the select.

No comments: