Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / CannotUnloadAppDomainException.cs / 1 / CannotUnloadAppDomainException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: CannotUnloadAppDomainException ** ** ** Purpose: Exception class for failed attempt to unload an AppDomain. ** ** =============================================================================*/ namespace System { using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class CannotUnloadAppDomainException : SystemException { public CannotUnloadAppDomainException() : base(Environment.GetResourceString("Arg_CannotUnloadAppDomainException")) { SetErrorCode(__HResults.COR_E_CANNOTUNLOADAPPDOMAIN); } public CannotUnloadAppDomainException(String message) : base(message) { SetErrorCode(__HResults.COR_E_CANNOTUNLOADAPPDOMAIN); } public CannotUnloadAppDomainException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_CANNOTUNLOADAPPDOMAIN); } // //This constructor is required for serialization. // protected CannotUnloadAppDomainException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: CannotUnloadAppDomainException ** ** ** Purpose: Exception class for failed attempt to unload an AppDomain. ** ** =============================================================================*/ namespace System { using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class CannotUnloadAppDomainException : SystemException { public CannotUnloadAppDomainException() : base(Environment.GetResourceString("Arg_CannotUnloadAppDomainException")) { SetErrorCode(__HResults.COR_E_CANNOTUNLOADAPPDOMAIN); } public CannotUnloadAppDomainException(String message) : base(message) { SetErrorCode(__HResults.COR_E_CANNOTUNLOADAPPDOMAIN); } public CannotUnloadAppDomainException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_CANNOTUNLOADAPPDOMAIN); } // //This constructor is required for serialization. // protected CannotUnloadAppDomainException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SymbolEqualComparer.cs
- unsafenativemethodstextservices.cs
- GradientBrush.cs
- SpeechAudioFormatInfo.cs
- StreamUpdate.cs
- SafeNativeMethods.cs
- ObjectParameter.cs
- CollectionEditVerbManager.cs
- SchemaCreator.cs
- StylusTip.cs
- UpdatePanel.cs
- newinstructionaction.cs
- FactoryRecord.cs
- RSACryptoServiceProvider.cs
- RequestCacheEntry.cs
- PersonalizationState.cs
- OperationPickerDialog.designer.cs
- ToolBarButtonDesigner.cs
- ClickablePoint.cs
- LayoutManager.cs
- BoundField.cs
- MonikerUtility.cs
- OdbcErrorCollection.cs
- X509AsymmetricSecurityKey.cs
- TableLayoutPanelDesigner.cs
- ScriptReference.cs
- ExpressionBindings.cs
- ListViewItemCollectionEditor.cs
- FileAuthorizationModule.cs
- Light.cs
- MimeTypeAttribute.cs
- StreamResourceInfo.cs
- ValueUtilsSmi.cs
- MetaTableHelper.cs
- HttpListenerRequestUriBuilder.cs
- ChtmlImageAdapter.cs
- FontStretchConverter.cs
- FixedPage.cs
- DataGridAddNewRow.cs
- GridViewCancelEditEventArgs.cs
- Util.cs
- ReadOnlyDictionary.cs
- SafeLibraryHandle.cs
- ClientRuntimeConfig.cs
- dataSvcMapFileLoader.cs
- DrawingVisualDrawingContext.cs
- ViewBase.cs
- UIElement3D.cs
- HttpRequestMessageProperty.cs
- Drawing.cs
- GroupStyle.cs
- SimpleTableProvider.cs
- QueryOutputWriter.cs
- PhoneCallDesigner.cs
- ObjectResult.cs
- XslException.cs
- NotifyCollectionChangedEventArgs.cs
- XmlElement.cs
- RoleManagerModule.cs
- StatusBarPanelClickEvent.cs
- XmlEncodedRawTextWriter.cs
- GenericFlowSwitchHelper.cs
- MetabaseReader.cs
- SqlParameter.cs
- IpcClientManager.cs
- AsyncPostBackErrorEventArgs.cs
- FormsAuthenticationUser.cs
- StringValidatorAttribute.cs
- HttpRuntimeSection.cs
- X509WindowsSecurityToken.cs
- TypedElement.cs
- StylusButton.cs
- XmlFormatExtensionPointAttribute.cs
- DataGridTextBox.cs
- BasicHttpMessageSecurityElement.cs
- CriticalHandle.cs
- DataSourceSelectArguments.cs
- ConfigXmlCDataSection.cs
- EmptyControlCollection.cs
- ThrowHelper.cs
- EntityParameter.cs
- HMAC.cs
- OdbcCommand.cs
- UIPermission.cs
- HtmlInputRadioButton.cs
- CacheMemory.cs
- ImageCodecInfo.cs
- IriParsingElement.cs
- DateTimeOffsetAdapter.cs
- PageTextBox.cs
- PrimaryKeyTypeConverter.cs
- SchemaCollectionCompiler.cs
- DesignerView.xaml.cs
- SqlCacheDependencySection.cs
- ExtensionSimplifierMarkupObject.cs
- InstanceDataCollectionCollection.cs
- RowUpdatedEventArgs.cs
- PassportAuthenticationModule.cs
- StatusBarAutomationPeer.cs
- WebPartVerbsEventArgs.cs