Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DesignSurface.cs
- HTMLTagNameToTypeMapper.cs
- DatagramAdapter.cs
- InternalSafeNativeMethods.cs
- ReliableSessionBindingElementImporter.cs
- HMACSHA1.cs
- CompositeActivityCodeGenerator.cs
- PropertyDescriptorCollection.cs
- ContentIterators.cs
- SrgsSubset.cs
- ToolStripGripRenderEventArgs.cs
- Pens.cs
- CodeTypeOfExpression.cs
- ResponseStream.cs
- HitTestWithGeometryDrawingContextWalker.cs
- DecimalAnimation.cs
- DataControlImageButton.cs
- ISFTagAndGuidCache.cs
- BezierSegment.cs
- MSG.cs
- DeploymentExceptionMapper.cs
- WorkflowCommandExtensionItem.cs
- BitSet.cs
- XmlEventCache.cs
- FixedPosition.cs
- PrintControllerWithStatusDialog.cs
- TypeConverterAttribute.cs
- RightsManagementInformation.cs
- WebBrowserEvent.cs
- PropertyOverridesTypeEditor.cs
- OrderedDictionary.cs
- IndexerNameAttribute.cs
- EventSetter.cs
- Schema.cs
- PasswordBox.cs
- SerializationAttributes.cs
- DataBinding.cs
- BamlResourceDeserializer.cs
- StateWorkerRequest.cs
- DataList.cs
- TextDecoration.cs
- TreeViewHitTestInfo.cs
- ChangesetResponse.cs
- ButtonChrome.cs
- ServicesUtilities.cs
- CharacterHit.cs
- UserPreferenceChangingEventArgs.cs
- _BufferOffsetSize.cs
- SendMessageContent.cs
- XamlPathDataSerializer.cs
- TypeViewSchema.cs
- CacheDependency.cs
- HttpHandlerActionCollection.cs
- MetadataArtifactLoaderCompositeResource.cs
- DrawingContext.cs
- DeferredBinaryDeserializerExtension.cs
- SettingsPropertyNotFoundException.cs
- WebPartCancelEventArgs.cs
- DataGridViewEditingControlShowingEventArgs.cs
- SqlExpressionNullability.cs
- ExecutionEngineException.cs
- ConfigurationElementCollection.cs
- ListViewItem.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- ImageAutomationPeer.cs
- CryptoProvider.cs
- StringBuilder.cs
- JapaneseCalendar.cs
- Errors.cs
- GcSettings.cs
- DataGridViewRowCollection.cs
- HtmlSelect.cs
- PathGeometry.cs
- XamlPointCollectionSerializer.cs
- XslNumber.cs
- TextRangeEditLists.cs
- WaitHandleCannotBeOpenedException.cs
- HtmlElementEventArgs.cs
- SslStream.cs
- Stylus.cs
- StreamReader.cs
- SpanIndex.cs
- XmlSchemaAppInfo.cs
- DelayedRegex.cs
- OutputCacheProviderCollection.cs
- EncryptedKey.cs
- CodeSubDirectory.cs
- TagNameToTypeMapper.cs
- DigitShape.cs
- HttpModuleActionCollection.cs
- ToolStripScrollButton.cs
- ListCommandEventArgs.cs
- ResolveRequestResponseAsyncResult.cs
- ServiceOperationParameter.cs
- ApplicationServicesHostFactory.cs
- EmptyWithCancelationCheckWorkItem.cs
- OpenFileDialog.cs
- InputScopeManager.cs
- CalendarTable.cs
- ProcessThread.cs