mirror of
https://github.com/bdnugget/Magic-Vision.git
synced 2026-11-07 09:17:36 +00:00
25 lines
651 B
C#
25 lines
651 B
C#
// ------------------------------------------------------------------
|
|
// DirectX.Capture
|
|
//
|
|
// History:
|
|
// 2003-Jan-24 BL - created
|
|
//
|
|
// Copyright (c) 2003 Brian Low
|
|
// ------------------------------------------------------------------
|
|
|
|
using System;
|
|
|
|
namespace DirectX.Capture
|
|
{
|
|
/// <summary>
|
|
/// Exception thrown when the device cannot be rendered or started.
|
|
/// </summary>
|
|
public class DeviceInUseException : SystemException
|
|
{
|
|
// Initializes a new instance with the specified HRESULT
|
|
public DeviceInUseException(string deviceName, int hResult) : base( deviceName + " is in use or cannot be rendered. (" + hResult + ")" )
|
|
{
|
|
}
|
|
}
|
|
}
|