RuntimeSupport.Assert Method (Boolean, String)
Asserts that condition is true. When running under XRT, the execution will fail with an error if assertion is not true.
Namespace: Microsoft.Xrt.Runtime
Assembly: Microsoft.Xrt.Runtime (in Microsoft.Xrt.Runtime.dll)
Usage
'Usage
Syntax
'Declaration
public static void Assert (
bool condition,
string message
)
Parameters
- condition
- message
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.
Platforms
Development Platforms
Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003
See Also
Reference
RuntimeSupport Class
RuntimeSupport Members
Microsoft.Xrt.Runtime Namespace