Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / SystemException.cs / 1 / 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);
}
protected SystemException(SerializationInfo info, StreamingContext context) : base(info, context) {
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GroupedContextMenuStrip.cs
- DataGridViewColumnHeaderCell.cs
- DesignerVerbCollection.cs
- AdornedElementPlaceholder.cs
- TreeViewEvent.cs
- EventlogProvider.cs
- EncryptedKey.cs
- OleDbFactory.cs
- DataGridCheckBoxColumn.cs
- SessionPageStatePersister.cs
- MessageProtectionOrder.cs
- ParameterToken.cs
- _Rfc2616CacheValidators.cs
- CompositeTypefaceMetrics.cs
- SmiRecordBuffer.cs
- TextEditorTables.cs
- WebBrowserNavigatingEventHandler.cs
- CellRelation.cs
- AsyncPostBackErrorEventArgs.cs
- EventWaitHandle.cs
- MediaSystem.cs
- IssuedTokenParametersEndpointAddressElement.cs
- versioninfo.cs
- VectorAnimationUsingKeyFrames.cs
- ClientScriptManagerWrapper.cs
- ToggleButton.cs
- DeploymentSectionCache.cs
- DataGridComboBoxColumn.cs
- XmlTextEncoder.cs
- RootBuilder.cs
- WorkflowServiceHostFactory.cs
- ComponentManagerBroker.cs
- SecurityResources.cs
- WorkflowElementDialog.cs
- CanonicalizationDriver.cs
- WebPartMenuStyle.cs
- ListViewGroup.cs
- FilterElement.cs
- XdrBuilder.cs
- SerialPort.cs
- Win32Native.cs
- TypeLibConverter.cs
- UserControlAutomationPeer.cs
- HWStack.cs
- FontInfo.cs
- GlyphShapingProperties.cs
- LoadWorkflowCommand.cs
- Variant.cs
- ToolStrip.cs
- SelectionProviderWrapper.cs
- SessionEndingEventArgs.cs
- RawUIStateInputReport.cs
- SpotLight.cs
- Comparer.cs
- TypeDescriptor.cs
- BitVector32.cs
- InputBinder.cs
- TableLayoutPanelCellPosition.cs
- SourceFilter.cs
- ClientApiGenerator.cs
- CompileXomlTask.cs
- WindowsListViewGroup.cs
- DrawListViewSubItemEventArgs.cs
- SizeAnimationUsingKeyFrames.cs
- XmlBinaryReader.cs
- FlowLayoutPanel.cs
- CheckBoxField.cs
- DesignerOptionService.cs
- UncommonField.cs
- Separator.cs
- PartialList.cs
- ellipse.cs
- MessageQueueCriteria.cs
- ControlPaint.cs
- ContourSegment.cs
- MethodBuilderInstantiation.cs
- StringAnimationBase.cs
- UpDownEvent.cs
- DefaultValueConverter.cs
- DialogResultConverter.cs
- Script.cs
- BeginEvent.cs
- HostProtectionPermission.cs
- EntityCommandDefinition.cs
- GenericPrincipal.cs
- ListCollectionView.cs
- Parser.cs
- SectionInformation.cs
- ListSourceHelper.cs
- ModifyActivitiesPropertyDescriptor.cs
- RevocationPoint.cs
- ComponentEditorPage.cs
- WorkerRequest.cs
- ZoneLinkButton.cs
- TypeName.cs
- PtsPage.cs
- AbsoluteQuery.cs
- FixedDocument.cs
- GridEntry.cs
- RoleServiceManager.cs