ThrowIf 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.

Encapsulates helper methods used to validate arguments.

Namespace:  Microsoft.Dynamics.Commerce.Runtime
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Framework (in Microsoft.Dynamics.Commerce.Runtime.Framework.dll)

Syntax

'Declaration
Public NotInheritable Class ThrowIf
'Usage
You do not need to declare an instance of a static class in order to access its members.
public static class ThrowIf
public ref class ThrowIf abstract sealed

Remarks

The methods defined in this class satisfy the CA1062 violation.

Inheritance Hierarchy

System.Object
  Microsoft.Dynamics.Commerce.Runtime.ThrowIf

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.

See Also

Reference

Microsoft.Dynamics.Commerce.Runtime Namespace