// The debug code here is for basic assertions on call orders if the request is successful.
/// Number of times InvokeProcessingRequest() is called.
/// events will be fired, we may skip the debug asserts when that happens.
/// Set to true if DataServiceProviderWrapper.GetService() is called.
/// Number of times DataService<T>.OnStartProcessingRequest() is called.
// events will be fired, we skip the debug asserts when that happens.
/// Need to be able to reset the states since the caller can reuse the same service instance.
/// Sender, i.e. data service instance.