AssertSupportsDirectX Method (Direct3D11RenderSurface)
Asserts the current hardware/software configuration supports DirectX.
Will throw a PlatformNotSupportedException if InitializationFailed is not handled, otherwise, raises the InitializationFailed event
Syntax
public static void AssertSupportsDirectX()
Exceptions
Exception | Description |
---|---|
System.PlatformNotSupportedException | The exception that is thrown when a feature does not run on a particular platform. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also