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
- CompareValidator.cs
- ScriptControlDescriptor.cs
- ThreadInterruptedException.cs
- CacheHelper.cs
- BindableTemplateBuilder.cs
- UtilityExtension.cs
- ClipboardProcessor.cs
- Misc.cs
- PathGeometry.cs
- GridItemProviderWrapper.cs
- ReplyChannelBinder.cs
- DefaultAssemblyResolver.cs
- Matrix3D.cs
- XmlDataSource.cs
- SafeCryptoHandles.cs
- RowSpanVector.cs
- BoolLiteral.cs
- SQLRoleProvider.cs
- SymbolTable.cs
- SizeAnimationUsingKeyFrames.cs
- Invariant.cs
- DataSourceCacheDurationConverter.cs
- TagPrefixAttribute.cs
- BehaviorService.cs
- PersonalizationStateInfo.cs
- MemberAccessException.cs
- ConstraintEnumerator.cs
- GroupItem.cs
- ScriptingProfileServiceSection.cs
- BufferedWebEventProvider.cs
- ComplexTypeEmitter.cs
- UpdateProgress.cs
- PixelFormats.cs
- WindowsSspiNegotiation.cs
- DynamicScriptObject.cs
- UnmanagedBitmapWrapper.cs
- XmlArrayAttribute.cs
- baseaxisquery.cs
- TableRowCollection.cs
- RefType.cs
- InvokeProviderWrapper.cs
- WorkflowMarkupSerializationException.cs
- DetailsViewDeletedEventArgs.cs
- XamlSerializer.cs
- RadioButton.cs
- MetadataUtilsSmi.cs
- Message.cs
- BitmapEffect.cs
- WinFormsUtils.cs
- printdlgexmarshaler.cs
- ReachPrintTicketSerializerAsync.cs
- WebPartHeaderCloseVerb.cs
- DbSetClause.cs
- KeyPullup.cs
- LocationUpdates.cs
- BufferedGraphicsManager.cs
- ConfigurationElement.cs
- SaveFileDialog.cs
- ExtractorMetadata.cs
- EntityParameterCollection.cs
- WindowsListViewGroupHelper.cs
- RelationshipDetailsRow.cs
- LocalizeDesigner.cs
- DocumentPaginator.cs
- BaseTemplateCodeDomTreeGenerator.cs
- CodePropertyReferenceExpression.cs
- NamespaceListProperty.cs
- CssClassPropertyAttribute.cs
- Message.cs
- StoryFragments.cs
- InteropBitmapSource.cs
- XmlReader.cs
- PixelShader.cs
- ListControlDesigner.cs
- ListViewItemSelectionChangedEvent.cs
- VersionConverter.cs
- HttpListenerPrefixCollection.cs
- BypassElementCollection.cs
- SerializationException.cs
- XmlEntity.cs
- TraversalRequest.cs
- CompiledRegexRunner.cs
- EncoderParameters.cs
- xmlformatgeneratorstatics.cs
- safex509handles.cs
- TypeSystem.cs
- SecurityDocument.cs
- DateTimeConstantAttribute.cs
- ScriptReferenceEventArgs.cs
- ListView.cs
- RunWorkerCompletedEventArgs.cs
- GetRecipientListRequest.cs
- Operand.cs
- LexicalChunk.cs
- Freezable.cs
- GlobalEventManager.cs
- BindingContext.cs
- OutputCacheProfileCollection.cs
- DocumentViewer.cs
- NetNamedPipeBinding.cs