singrdk/base/Applications/Runtime/Full/System/InvalidOperationException.cs

39 lines
1.3 KiB
C#
Raw Permalink Normal View History

2008-03-05 09:52:00 -05:00
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
2008-11-17 18:29:00 -05:00
//=============================================================================
//
// Class: InvalidOperationException
//
// Purpose: Exception class for denoting an object was in a state that
// made calling a method illegal.
//
//=============================================================================
namespace System
{
2008-03-05 09:52:00 -05:00
using System;
//| <include path='docs/doc[@for="InvalidOperationException"]/*' />
public class InvalidOperationException : SystemException
{
//| <include path='docs/doc[@for="InvalidOperationException.InvalidOperationException"]/*' />
public InvalidOperationException()
: base("Arg_InvalidOperationException") {
}
//| <include path='docs/doc[@for="InvalidOperationException.InvalidOperationException1"]/*' />
public InvalidOperationException(String message)
: base(message) {
}
//| <include path='docs/doc[@for="InvalidOperationException.InvalidOperationException2"]/*' />
public InvalidOperationException(String message, Exception innerException)
: base(message, innerException) {
}
}
}