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: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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
Remarks

[Missing <remarks> documentation for "T:Ab4d.SharpEngine.Common.DeviceCreateFailedEventArgs"]

See Also