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
- SymLanguageVendor.cs
- _Rfc2616CacheValidators.cs
- TypeDescriptorFilterService.cs
- Paragraph.cs
- Vector3D.cs
- ToolStripDropDownButton.cs
- CompositeActivityTypeDescriptorProvider.cs
- XmlWrappingReader.cs
- SignerInfo.cs
- MailFileEditor.cs
- WsrmTraceRecord.cs
- DataGridViewTextBoxCell.cs
- FragmentNavigationEventArgs.cs
- CapabilitiesRule.cs
- XamlSerializer.cs
- HttpDebugHandler.cs
- PathGeometry.cs
- PreservationFileReader.cs
- BrowsableAttribute.cs
- SafeNativeMethodsMilCoreApi.cs
- EUCJPEncoding.cs
- SupportingTokenChannel.cs
- Keyboard.cs
- X509CertificateStore.cs
- SettingsBase.cs
- ConfigXmlReader.cs
- WorkflowView.cs
- DocumentApplicationJournalEntry.cs
- UIElementHelper.cs
- FormView.cs
- UnicastIPAddressInformationCollection.cs
- DataReaderContainer.cs
- Evidence.cs
- Model3D.cs
- UrlMappingCollection.cs
- SendMailErrorEventArgs.cs
- ExpressionBindingCollection.cs
- TreeNodeCollection.cs
- DataComponentNameHandler.cs
- EpmHelper.cs
- DataPagerFieldItem.cs
- ShaperBuffers.cs
- SymbolMethod.cs
- TextTrailingWordEllipsis.cs
- CallbackHandler.cs
- DashStyle.cs
- WebPartConnectionsConfigureVerb.cs
- ImageProxy.cs
- BasicCellRelation.cs
- ServiceOperation.cs
- StreamingContext.cs
- XmlAttributeOverrides.cs
- CryptoApi.cs
- UntrustedRecipientException.cs
- WorkflowNamespace.cs
- ServiceContractGenerationContext.cs
- EntityDataSourceDesigner.cs
- HostingEnvironment.cs
- GuidConverter.cs
- OdbcConnectionOpen.cs
- HatchBrush.cs
- EdmPropertyAttribute.cs
- IsolatedStorage.cs
- ProcessModuleCollection.cs
- WindowsAuthenticationEventArgs.cs
- SynthesizerStateChangedEventArgs.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- HttpInputStream.cs
- ViewPort3D.cs
- ImagingCache.cs
- StrongTypingException.cs
- TextSpan.cs
- odbcmetadatacolumnnames.cs
- HtmlInputSubmit.cs
- DependencyPropertyKind.cs
- RootBuilder.cs
- Viewport3DAutomationPeer.cs
- AuthenticationManager.cs
- ScriptManager.cs
- UITypeEditor.cs
- SqlDataSourceConfigureFilterForm.cs
- XsltLoader.cs
- OdbcHandle.cs
- NameValuePair.cs
- RequiredAttributeAttribute.cs
- RSACryptoServiceProvider.cs
- CapacityStreamGeometryContext.cs
- BooleanFunctions.cs
- CodeSubDirectory.cs
- RegexTree.cs
- TemplateBindingExtensionConverter.cs
- formatter.cs
- SpellerStatusTable.cs
- FixedElement.cs
- TextComposition.cs
- XPathAxisIterator.cs
- XmlSchemaComplexContentExtension.cs
- FaultHandlingFilter.cs
- DatePicker.cs
- Matrix.cs