deviceinuseexception.cs
来自「人体运动检测与运动跟踪的源代码」· CS 代码 · 共 25 行
CS
25 行
// ------------------------------------------------------------------
// 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 + ")" )
{
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?