SecurityErrors Class
Important
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
Class container for all security related errors in the runtime.
Namespace: Microsoft.Dynamics.Commerce.Runtime
Assembly: Microsoft.Dynamics.Commerce.Runtime.Framework (in Microsoft.Dynamics.Commerce.Runtime.Framework.dll)
Syntax
'Declaration
Public NotInheritable Class SecurityErrors
'Usage
You do not need to declare an instance of a static class in order to access its members.
public static class SecurityErrors
public ref class SecurityErrors abstract sealed
Remarks
When adding a new constant, modifying the name of a constant, or deleting a constant, a corresponding change needs to be made in all files below: - %InetRoot%\Source\Frameworks\Retail\Channels\SharePoint\StoreFront\Services\ServiceResources.resx (StoreFront) - %InetRoot%\Source\Frameworks\Retail\Channels\Apps\Framework\Assets\Strings\{locale}\resources.resjson (mPOS) - %InetRoot%\Source\Frameworks\Retail\Channels\Apps\Framework\Core\ErrorHelper.ts (mPOS) - %InetRoot%\Source\Frameworks\Retail\Channels\Apps\WindowsPhone\C1\Pos\Model\Exceptions\DataValidationErrors.cs (Win Phone POS) - %InetRoot%\Source\Frameworks\Retail\Channels\Apps\WindowsPhone\C1\Pos\Application\Resources\AppResources.resx (Win Phone POS) so a proper UI message is displayed.
Inheritance Hierarchy
System.Object
Microsoft.Dynamics.Commerce.Runtime.SecurityErrors
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.