Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / TypeUnloadedException.cs / 1305376 / 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; // [System.Security.SecuritySafeCritical] // auto-generated 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; // [System.Security.SecuritySafeCritical] // auto-generated 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
- SortDescriptionCollection.cs
- DefaultValueAttribute.cs
- RoleManagerModule.cs
- JsonDataContract.cs
- BaseTreeIterator.cs
- Pen.cs
- ButtonBase.cs
- PasswordBox.cs
- BinarySerializer.cs
- MorphHelper.cs
- RandomNumberGenerator.cs
- HttpException.cs
- BatchParser.cs
- DataGridViewDataErrorEventArgs.cs
- DataKey.cs
- Stack.cs
- LabelExpression.cs
- WindowAutomationPeer.cs
- DSASignatureDeformatter.cs
- SystemIPInterfaceStatistics.cs
- SubclassTypeValidator.cs
- XmlBaseWriter.cs
- BamlRecords.cs
- DWriteFactory.cs
- StylusTip.cs
- Span.cs
- HtmlInputRadioButton.cs
- IndicFontClient.cs
- OneWayChannelFactory.cs
- XmlSchemaRedefine.cs
- BaseCollection.cs
- Emitter.cs
- BindingWorker.cs
- CommonRemoteMemoryBlock.cs
- Clipboard.cs
- NumberFormatInfo.cs
- EqualityComparer.cs
- Baml2006ReaderContext.cs
- RelatedImageListAttribute.cs
- KeyInfo.cs
- CompilerInfo.cs
- FaultReason.cs
- RowTypeElement.cs
- ColumnWidthChangingEvent.cs
- XmlQueryType.cs
- Module.cs
- EventProviderWriter.cs
- OpenFileDialog.cs
- HighlightVisual.cs
- ArgumentNullException.cs
- Queue.cs
- CapabilitiesSection.cs
- ActiveXHost.cs
- DecoderExceptionFallback.cs
- QuaternionRotation3D.cs
- AstTree.cs
- CharConverter.cs
- Size.cs
- DbConvert.cs
- configsystem.cs
- MachineKeyConverter.cs
- TextControl.cs
- BitmapEffectState.cs
- InProcStateClientManager.cs
- PageCanvasSize.cs
- TextEndOfSegment.cs
- RegexTypeEditor.cs
- WebPartCancelEventArgs.cs
- DetailsViewUpdateEventArgs.cs
- EDesignUtil.cs
- FixedSOMElement.cs
- DecoderNLS.cs
- TypeReference.cs
- X509Utils.cs
- SqlBulkCopyColumnMapping.cs
- TrackingCondition.cs
- ConfigXmlWhitespace.cs
- OleDbInfoMessageEvent.cs
- DefaultValueConverter.cs
- DesignerTextViewAdapter.cs
- RenderData.cs
- ISO2022Encoding.cs
- PropertySourceInfo.cs
- PcmConverter.cs
- PrimitiveCodeDomSerializer.cs
- PropVariant.cs
- SqlDependencyListener.cs
- PatternMatcher.cs
- RegexCharClass.cs
- CodeCatchClause.cs
- OrthographicCamera.cs
- NamespaceInfo.cs
- Setter.cs
- CompositeFontInfo.cs
- UInt32Storage.cs
- TimeoutValidationAttribute.cs
- FigureHelper.cs
- ParameterExpression.cs
- JsonCollectionDataContract.cs
- XmlHierarchyData.cs