Permalink
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (36 sloc) 1.28 KB
/*
This file is part of SharpPcap.
SharpPcap is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
SharpPcap is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with SharpPcap. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* Copyright 2010 Chris Morgan <chmorgan@gmail.com>
*/
using System;
namespace SharpPcap
{
/// <summary>
/// Thrown when an operation can't be performed because
/// a background capture has been started via PcapDevice.StartCapture()
/// </summary>
public class InvalidOperationDuringBackgroundCaptureException : PcapException
{
/// <summary>
/// string constructor
/// </summary>
/// <param name="msg">
/// A <see cref="System.String"/>
/// </param>
public InvalidOperationDuringBackgroundCaptureException(string msg) : base(msg)
{
}
}
}