mirror of
https://github.com/SSCLI/sscli_20021101
synced 2026-06-08 12:28:57 +00:00
9fa3874800
Moved the original file to the archive subfolder.
60 lines
2.4 KiB
C#
60 lines
2.4 KiB
C#
// ==++==
|
|
//
|
|
//
|
|
// Copyright (c) 2002 Microsoft Corporation. All rights reserved.
|
|
//
|
|
// The use and distribution terms for this software are contained in the file
|
|
// named license.txt, which can be found in the root of this distribution.
|
|
// By using this software in any fashion, you are agreeing to be bound by the
|
|
// terms of this license.
|
|
//
|
|
// You must not remove this notice, or any other, from this software.
|
|
//
|
|
//
|
|
// ==--==
|
|
/*=============================================================================
|
|
**
|
|
** Class: AppDomainUnloadedException
|
|
**
|
|
**
|
|
**
|
|
** Purpose: Exception class for attempt to access an unloaded AppDomain
|
|
**
|
|
** Date: March 17, 1998
|
|
**
|
|
=============================================================================*/
|
|
|
|
namespace System {
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
/// <include file='doc\AppDomainUnloadedException.uex' path='docs/doc[@for="AppDomainUnloadedException"]/*' />
|
|
[Serializable()] public class AppDomainUnloadedException : SystemException {
|
|
/// <include file='doc\AppDomainUnloadedException.uex' path='docs/doc[@for="AppDomainUnloadedException.AppDomainUnloadedException"]/*' />
|
|
public AppDomainUnloadedException()
|
|
: base(Environment.GetResourceString("Arg_AppDomainUnloadedException")) {
|
|
SetErrorCode(__HResults.COR_E_APPDOMAINUNLOADED);
|
|
}
|
|
|
|
/// <include file='doc\AppDomainUnloadedException.uex' path='docs/doc[@for="AppDomainUnloadedException.AppDomainUnloadedException1"]/*' />
|
|
public AppDomainUnloadedException(String message)
|
|
: base(message) {
|
|
SetErrorCode(__HResults.COR_E_APPDOMAINUNLOADED);
|
|
}
|
|
|
|
/// <include file='doc\AppDomainUnloadedException.uex' path='docs/doc[@for="AppDomainUnloadedException.AppDomainUnloadedException2"]/*' />
|
|
public AppDomainUnloadedException(String message, Exception innerException)
|
|
: base(message, innerException) {
|
|
SetErrorCode(__HResults.COR_E_APPDOMAINUNLOADED);
|
|
}
|
|
|
|
//
|
|
//This constructor is required for serialization.
|
|
//
|
|
/// <include file='doc\AppDomainUnloadedException.uex' path='docs/doc[@for="AppDomainUnloadedException.AppDomainUnloadedException3"]/*' />
|
|
protected AppDomainUnloadedException(SerializationInfo info, StreamingContext context) : base(info, context) {
|
|
}
|
|
}
|
|
}
|
|
|