Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / SystemException.cs / 1305376 / SystemException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System { using System; using System.Runtime.Serialization; [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class SystemException : Exception { public SystemException() : base(Environment.GetResourceString("Arg_SystemException")) { SetErrorCode(__HResults.COR_E_SYSTEM); } public SystemException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SYSTEM); } public SystemException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_SYSTEM); } [System.Security.SecuritySafeCritical] // auto-generated protected SystemException(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. // // ==--== namespace System { using System; using System.Runtime.Serialization; [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class SystemException : Exception { public SystemException() : base(Environment.GetResourceString("Arg_SystemException")) { SetErrorCode(__HResults.COR_E_SYSTEM); } public SystemException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SYSTEM); } public SystemException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_SYSTEM); } [System.Security.SecuritySafeCritical] // auto-generated protected SystemException(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
- FileDialog.cs
- SqlInternalConnection.cs
- RelationshipType.cs
- AsyncOperation.cs
- EventItfInfo.cs
- SiteMap.cs
- WindowsSolidBrush.cs
- WeakReadOnlyCollection.cs
- URL.cs
- QueryOpeningEnumerator.cs
- ServiceModelConfigurationElementCollection.cs
- DnsPermission.cs
- CodeDomExtensionMethods.cs
- SqlSupersetValidator.cs
- HttpAsyncResult.cs
- SoapEnumAttribute.cs
- DbXmlEnabledProviderManifest.cs
- UriParserTemplates.cs
- DbDataAdapter.cs
- ObjectContextServiceProvider.cs
- RegularExpressionValidator.cs
- FrameworkReadOnlyPropertyMetadata.cs
- WebControlsSection.cs
- XsltFunctions.cs
- InfoCardSymmetricCrypto.cs
- OutputCacheModule.cs
- RSACryptoServiceProvider.cs
- DataServiceContext.cs
- IdentityReference.cs
- Object.cs
- XmlDataSource.cs
- TextDecorations.cs
- WebPartConnection.cs
- IndentTextWriter.cs
- XmlAttributes.cs
- GeometryDrawing.cs
- LinkedResource.cs
- DataTableReader.cs
- DBConnection.cs
- JournalNavigationScope.cs
- ContentElement.cs
- _SecureChannel.cs
- WindowsUpDown.cs
- DictationGrammar.cs
- AssemblyBuilderData.cs
- WorkItem.cs
- StateDesigner.CommentLayoutGlyph.cs
- QuaternionRotation3D.cs
- SchemaImporterExtensionElementCollection.cs
- ContentDisposition.cs
- NotifyParentPropertyAttribute.cs
- DPCustomTypeDescriptor.cs
- NativeCppClassAttribute.cs
- HttpHandlerAction.cs
- Group.cs
- InputLanguageProfileNotifySink.cs
- Form.cs
- SqlDataSourceEnumerator.cs
- PEFileReader.cs
- DbConnectionHelper.cs
- Clause.cs
- ChangePasswordAutoFormat.cs
- CompilerTypeWithParams.cs
- RecommendedAsConfigurableAttribute.cs
- TextElement.cs
- XhtmlBasicSelectionListAdapter.cs
- TabItemAutomationPeer.cs
- AppLevelCompilationSectionCache.cs
- COM2ExtendedTypeConverter.cs
- PropertyGridCommands.cs
- LockedHandleGlyph.cs
- ReadOnlyTernaryTree.cs
- ClientType.cs
- XPathDocumentNavigator.cs
- NativeMethods.cs
- PositiveTimeSpanValidatorAttribute.cs
- QilUnary.cs
- WorkflowEnvironment.cs
- IndependentlyAnimatedPropertyMetadata.cs
- ItemsPresenter.cs
- URLMembershipCondition.cs
- IgnoreSection.cs
- OuterGlowBitmapEffect.cs
- DecimalConverter.cs
- StyleConverter.cs
- StreamGeometryContext.cs
- TypeUnloadedException.cs
- IdentityHolder.cs
- COM2PropertyBuilderUITypeEditor.cs
- ProcessHostServerConfig.cs
- DataBoundControl.cs
- IndexOutOfRangeException.cs
- latinshape.cs
- TransformPattern.cs
- XmlSchemaImporter.cs
- ProcessModuleCollection.cs
- InvalidDataException.cs
- HebrewCalendar.cs
- AppDomainProtocolHandler.cs
- HttpCapabilitiesSectionHandler.cs