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
- ReliableChannelFactory.cs
- Content.cs
- StylusTip.cs
- SecureEnvironment.cs
- DataList.cs
- IPipelineRuntime.cs
- SmiXetterAccessMap.cs
- StylusPlugInCollection.cs
- ToolStripItemTextRenderEventArgs.cs
- ObjectDataSourceSelectingEventArgs.cs
- Image.cs
- ProjectionCamera.cs
- HtmlProps.cs
- Operators.cs
- Barrier.cs
- HtmlToClrEventProxy.cs
- SizeConverter.cs
- SetterBaseCollection.cs
- AutoResetEvent.cs
- SoapEnvelopeProcessingElement.cs
- LongPath.cs
- EntityUtil.cs
- SiteMapDataSourceDesigner.cs
- Stack.cs
- AttachedPropertyMethodSelector.cs
- Mutex.cs
- SoapObjectReader.cs
- WebSysDisplayNameAttribute.cs
- sqlstateclientmanager.cs
- Viewport3DVisual.cs
- Sql8ExpressionRewriter.cs
- TextAdaptor.cs
- UrlMappingCollection.cs
- IsolatedStorageException.cs
- DependencyPropertyDescriptor.cs
- DataConnectionHelper.cs
- XamlSerializerUtil.cs
- DocumentGridContextMenu.cs
- ErrorTableItemStyle.cs
- XmlCharCheckingReader.cs
- TdsParserHelperClasses.cs
- MethodSet.cs
- StateDesigner.CommentLayoutGlyph.cs
- PathSegment.cs
- SecurityUtils.cs
- HGlobalSafeHandle.cs
- ExpressionLexer.cs
- EncoderParameter.cs
- FlowLayoutPanel.cs
- CompiledXpathExpr.cs
- FocusTracker.cs
- ReversePositionQuery.cs
- IDispatchConstantAttribute.cs
- GZipStream.cs
- ToolStripPanelCell.cs
- ResourceDescriptionAttribute.cs
- nulltextcontainer.cs
- ControlAdapter.cs
- DocumentViewer.cs
- EntityRecordInfo.cs
- Authorization.cs
- XmlSerializerFactory.cs
- PerspectiveCamera.cs
- CalendarDateChangedEventArgs.cs
- PropertyBuilder.cs
- EnumMember.cs
- LoadRetryConstantStrategy.cs
- SiteMapNodeItem.cs
- InkCanvas.cs
- DoubleUtil.cs
- SequentialUshortCollection.cs
- ObjectAnimationUsingKeyFrames.cs
- CqlGenerator.cs
- ListControl.cs
- WorkflowDataContext.cs
- XmlAttributeProperties.cs
- DataViewManager.cs
- RegexMatch.cs
- XsltException.cs
- MenuItemStyleCollection.cs
- XPathAncestorQuery.cs
- SAPICategories.cs
- Viewport3DAutomationPeer.cs
- XmlSchemaException.cs
- ReverseQueryOperator.cs
- IPAddressCollection.cs
- DataGridViewColumnHeaderCell.cs
- SendSecurityHeader.cs
- SqlDependencyListener.cs
- RecordsAffectedEventArgs.cs
- SelectedDatesCollection.cs
- DataKeyArray.cs
- DateTime.cs
- Vector3DKeyFrameCollection.cs
- MessageHeaderDescription.cs
- TypeDescriptor.cs
- _ContextAwareResult.cs
- CachedPathData.cs
- HuffmanTree.cs
- HelpProvider.cs