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
- FlowNode.cs
- Dynamic.cs
- handlecollector.cs
- ArcSegment.cs
- BitmapMetadata.cs
- ControlParser.cs
- DetailsViewRowCollection.cs
- HttpDictionary.cs
- AnimationLayer.cs
- AsymmetricKeyExchangeDeformatter.cs
- DataGridViewDataErrorEventArgs.cs
- FrameSecurityDescriptor.cs
- AdapterUtil.cs
- ConfigViewGenerator.cs
- PageRequestManager.cs
- SocketPermission.cs
- WebServiceEnumData.cs
- SoapSchemaExporter.cs
- DataObject.cs
- ObjectDataSource.cs
- XmlBinaryReaderSession.cs
- AuthenticatingEventArgs.cs
- ForceCopyBuildProvider.cs
- GcHandle.cs
- ProfessionalColorTable.cs
- HostedNamedPipeTransportManager.cs
- XPathChildIterator.cs
- DbSource.cs
- WebPartConnectionsCancelEventArgs.cs
- MinimizableAttributeTypeConverter.cs
- ProcessModelSection.cs
- DelegatingHeader.cs
- BinHexDecoder.cs
- TypeDescriptorFilterService.cs
- ApplicationDirectory.cs
- Expression.cs
- DataGridViewTextBoxColumn.cs
- ComplexTypeEmitter.cs
- Validator.cs
- HtmlInputPassword.cs
- TreeViewHitTestInfo.cs
- MachineKey.cs
- FormsAuthenticationTicket.cs
- ChtmlPageAdapter.cs
- PlaceHolder.cs
- RemoteWebConfigurationHost.cs
- ContextMenu.cs
- ManagementClass.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- CodeActivity.cs
- ModuleBuilderData.cs
- ISAPIRuntime.cs
- RedirectionProxy.cs
- StatusBar.cs
- QueryContext.cs
- Mouse.cs
- SizeAnimationBase.cs
- ExpressionBinding.cs
- RuleSetCollection.cs
- ToolBarButtonClickEvent.cs
- SchemaElementDecl.cs
- UnconditionalPolicy.cs
- SessionStateUtil.cs
- DuplicateDetector.cs
- LongValidatorAttribute.cs
- AssertSection.cs
- RangeValuePattern.cs
- Geometry3D.cs
- connectionpool.cs
- RoutedEventHandlerInfo.cs
- BulletedListEventArgs.cs
- SignatureSummaryDialog.cs
- Point4D.cs
- UserControlDesigner.cs
- TargetInvocationException.cs
- NullExtension.cs
- ValueType.cs
- CustomExpression.cs
- DecoderBestFitFallback.cs
- XmlSerializationWriter.cs
- ReturnType.cs
- MediaContext.cs
- QuaternionAnimation.cs
- SystemUdpStatistics.cs
- TcpProcessProtocolHandler.cs
- ProgressPage.cs
- TextEndOfLine.cs
- CheckBoxStandardAdapter.cs
- SqlInternalConnectionTds.cs
- HostedHttpRequestAsyncResult.cs
- RewritingPass.cs
- XmlAnyAttributeAttribute.cs
- WebException.cs
- TextContainer.cs
- EncryptedHeader.cs
- Nullable.cs
- MetadataItemSerializer.cs
- SwitchElementsCollection.cs
- DbConnectionStringBuilder.cs
- WebBrowserHelper.cs