Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
ArgumentNullException is returned by POS for .NET 1.12
Article ID: 2021760 - View products that this article applies to.
If a device is already claimed by an application, attempts to claim that device by applications running from different user accounts fail. POS for .NET returns an Argument exception instead of a POS exception. Once a user account receives this failure, subsequent attempts by that user account to claim the device fail, even after the device is released.
This failure does not occur for two applications running from the same user account. Access to the global event is denied only for different accounts.
POS for .NET uses global events for tracking when a service object claims a device. This only applies to service objects that leverage the NamedEvent class. Basic and Base classes leverage this – although service objects based on the Basic class may choose to provide their own implementation.
The fix enables multiple user account usage of a global event, by providing a security attribute when the global event is created. In the event of a failure, the proper claim logic and exception results are now returned.
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.