This is preliminary documentation and is subject to change.
Used to control global options that affect all of SlimDX.
| C# | Visual Basic | C++/CLI |
public sealed class Configuration
Public NotInheritable Class Configuration
public ref class Configuration sealed
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| AddResultWatch(Result, ResultWatchFlags) |
Adds a watch indicating the action to be taken when a method returns the
specified result code.
| |
| ClearResultWatches()()() |
Clears out all watches on all result codes.
| |
| DetectDoubleDispose |
Gets or sets whether SlimDX detects double disposal of objects. If set to true, SlimDX will throw
an ObjectDisposedException when an already disposed object is disposed. If set to false, double
disposals will be silently ignored. The default value is false.
| |
| EnableObjectTracking |
Gets or sets whether SlimDX is currently tracking call stacks from object creation. If set to false,
objects will not carry a call stack from when they were created. The default value is false.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveResultWatch(Result) |
Removes a watch on the specified result code.
If no watch was set, this call is ignored.
| |
| ThrowOnError |
Gets or sets whether SlimDX defaults to throwing exceptions on result codes
that indicate errors. The default value is true.
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| Configuration | |
Assembly: SlimDX (Module: SlimDX)