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

33 lines
1014 B
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: InvalidCastException
//
// Purpose: Exception class for bad cast conditions!
//
//=============================================================================
2008-03-05 09:52:00 -05:00
2008-11-17 18:29:00 -05:00
namespace System
{
2008-03-05 09:52:00 -05:00
using System;
using System.Runtime.CompilerServices;
//| <include path='docs/doc[@for="InvalidCastException"]/*' />
2008-11-17 18:29:00 -05:00
public partial class InvalidCastException : SystemException {
2008-03-05 09:52:00 -05:00
//| <include path='docs/doc[@for="InvalidCastException.InvalidCastException1"]/*' />
public InvalidCastException(String message)
: base(message) {
}
//| <include path='docs/doc[@for="InvalidCastException.InvalidCastException2"]/*' />
public InvalidCastException(String message, Exception innerException)
: base(message, innerException) {
}
}
}