Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / TypeUnloadedException.cs / 1 / TypeUnloadedException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: TypeUnloadedException ** ** ** Purpose: Exception class for attempt to access an unloaded class ** ** =============================================================================*/ namespace System { using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class TypeUnloadedException : SystemException { public TypeUnloadedException() : base(Environment.GetResourceString("Arg_TypeUnloadedException")) { SetErrorCode(__HResults.COR_E_TYPEUNLOADED); } public TypeUnloadedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_TYPEUNLOADED); } public TypeUnloadedException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_TYPEUNLOADED); } // // This constructor is required for serialization; // protected TypeUnloadedException(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: TypeUnloadedException ** ** ** Purpose: Exception class for attempt to access an unloaded class ** ** =============================================================================*/ namespace System { using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class TypeUnloadedException : SystemException { public TypeUnloadedException() : base(Environment.GetResourceString("Arg_TypeUnloadedException")) { SetErrorCode(__HResults.COR_E_TYPEUNLOADED); } public TypeUnloadedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_TYPEUNLOADED); } public TypeUnloadedException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_TYPEUNLOADED); } // // This constructor is required for serialization; // protected TypeUnloadedException(SerializationInfo info, StreamingContext context) : base (info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TreeWalkHelper.cs
- QueryGenerator.cs
- AutomationProperty.cs
- BatchWriter.cs
- RemotingAttributes.cs
- RuleSetDialog.Designer.cs
- KeyNotFoundException.cs
- PropertyChangeTracker.cs
- PreviewPrintController.cs
- WebReferencesBuildProvider.cs
- RelationshipEnd.cs
- SolidColorBrush.cs
- XmlQueryContext.cs
- ModelItemCollectionImpl.cs
- ButtonColumn.cs
- ListControlConvertEventArgs.cs
- FakeModelPropertyImpl.cs
- ArglessEventHandlerProxy.cs
- AnonymousIdentificationModule.cs
- StaticContext.cs
- SupportingTokenChannel.cs
- MapPathBasedVirtualPathProvider.cs
- ConfigurationFileMap.cs
- XmlSchemaValidator.cs
- View.cs
- LineBreakRecord.cs
- EdmError.cs
- RangeValuePattern.cs
- AnnotationResourceChangedEventArgs.cs
- ZoneButton.cs
- MappingItemCollection.cs
- OleCmdHelper.cs
- DataGridViewColumnEventArgs.cs
- ObjectListItemCollection.cs
- RootBrowserWindowProxy.cs
- Faults.cs
- QilNode.cs
- DeflateEmulationStream.cs
- BuildManagerHost.cs
- BlurEffect.cs
- XmlTextAttribute.cs
- ClickablePoint.cs
- InteropExecutor.cs
- ClientApiGenerator.cs
- IdnMapping.cs
- XPathSelfQuery.cs
- versioninfo.cs
- SizeChangedInfo.cs
- ImportException.cs
- ACE.cs
- DetailsViewCommandEventArgs.cs
- SemaphoreSecurity.cs
- SurrogateEncoder.cs
- DictionarySectionHandler.cs
- Util.cs
- SerializationInfo.cs
- CachedFontFace.cs
- PageCatalogPart.cs
- VarRemapper.cs
- CachedPathData.cs
- CheckBoxFlatAdapter.cs
- NumberSubstitution.cs
- PanelStyle.cs
- HttpHandlerAction.cs
- HtmlTextViewAdapter.cs
- OleDbStruct.cs
- SecurityCriticalDataForSet.cs
- HandlerFactoryCache.cs
- NavigationFailedEventArgs.cs
- TransactionsSectionGroup.cs
- SessionEndedEventArgs.cs
- CodeMethodReturnStatement.cs
- ConfigurationManagerHelper.cs
- Win32SafeHandles.cs
- DataSourceConverter.cs
- Substitution.cs
- Random.cs
- UserControl.cs
- Wildcard.cs
- RewritingValidator.cs
- CurrentTimeZone.cs
- ButtonColumn.cs
- HwndHost.cs
- BamlRecords.cs
- GridViewSelectEventArgs.cs
- TypeBuilder.cs
- MaskDesignerDialog.cs
- TrimSurroundingWhitespaceAttribute.cs
- Bidi.cs
- ToolStripCustomTypeDescriptor.cs
- MetadataProperty.cs
- Filter.cs
- Journaling.cs
- AttachmentCollection.cs
- DynamicPropertyHolder.cs
- ReachPageContentSerializer.cs
- PrefixHandle.cs
- Models.cs
- BooleanStorage.cs
- FolderNameEditor.cs