Click or drag to resize
Ab4d.SharpEngine logo

DeviceCreateFailedEventArgs Class

DeviceCreateFailedEventArgs is used to provide more information about why device creation failed and to provide user an option to show his own error message instead of default error text.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Ab4d.SharpEngine.CommonDeviceCreateFailedEventArgs

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public class DeviceCreateFailedEventArgs : EventArgs

The DeviceCreateFailedEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodDeviceCreateFailedEventArgs Constructor
Top
Properties
 NameDescription
Public propertyIsHandled IsHandled can be set to true to prevent showing standard error text. Note that if user called SceneView.Initialize method and device creation failed, then an exception will be called even if IsHandled is set to true. There reason is that Initialize returns non-nullable Scene and SceneView values and cannot return in case those two objects are not created.
Top
Fields
 NameDescription
Public fieldException Exception with additional information about why device creation failed.
Top
See Also