Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / PlatformNotSupportedException.cs / 1 / PlatformNotSupportedException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: PlatformNotSupportedException ** ** ** Purpose: To handle features that don't run on particular platforms ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class PlatformNotSupportedException : NotSupportedException { public PlatformNotSupportedException() : base(Environment.GetResourceString("Arg_PlatformNotSupported")) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } public PlatformNotSupportedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } public PlatformNotSupportedException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } protected PlatformNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DbException.cs
- DrawingContextWalker.cs
- Light.cs
- KeySplineConverter.cs
- TextEditorDragDrop.cs
- SrgsRule.cs
- WizardForm.cs
- TextElement.cs
- StreamWithDictionary.cs
- ButtonDesigner.cs
- CompressedStack.cs
- ProcessManager.cs
- PointAnimation.cs
- TableItemStyle.cs
- CurrentTimeZone.cs
- DelegateCompletionCallbackWrapper.cs
- FileSecurity.cs
- StringExpressionSet.cs
- DeleteWorkflowOwnerCommand.cs
- ToolStripPanelRenderEventArgs.cs
- PrintDialog.cs
- XPathNode.cs
- Token.cs
- EnglishPluralizationService.cs
- WMIInterop.cs
- LicenseManager.cs
- ParserContext.cs
- PrintPreviewGraphics.cs
- CommandHelpers.cs
- TabControlCancelEvent.cs
- Logging.cs
- EncoderReplacementFallback.cs
- Timer.cs
- ComboBoxDesigner.cs
- Flowchart.cs
- _MultipleConnectAsync.cs
- DetailsViewPageEventArgs.cs
- DataColumnCollection.cs
- Listbox.cs
- HtmlInputRadioButton.cs
- Vector3DAnimationUsingKeyFrames.cs
- ImageIndexConverter.cs
- CompilerResults.cs
- WmfPlaceableFileHeader.cs
- TabControlAutomationPeer.cs
- ECDiffieHellmanCng.cs
- FrameworkContentElementAutomationPeer.cs
- SqlAggregateChecker.cs
- ObjectConverter.cs
- StreamBodyWriter.cs
- SqlRemoveConstantOrderBy.cs
- WebPartVerbCollection.cs
- TextPenaltyModule.cs
- ComEventsInfo.cs
- XmlSchemaGroupRef.cs
- IResourceProvider.cs
- VirtualizedContainerService.cs
- Soap.cs
- RuleInfoComparer.cs
- PbrsForward.cs
- ConfigurationValidatorAttribute.cs
- GeneratedContractType.cs
- XmlDictionaryWriter.cs
- _PooledStream.cs
- ThousandthOfEmRealDoubles.cs
- RegexCapture.cs
- CompositeFontInfo.cs
- SharedUtils.cs
- CommandHelper.cs
- ZipIOCentralDirectoryFileHeader.cs
- PrivilegedConfigurationManager.cs
- TextFormatterImp.cs
- DependencyPropertyKey.cs
- RoutingBehavior.cs
- JsonUriDataContract.cs
- EmptyStringExpandableObjectConverter.cs
- TextRangeAdaptor.cs
- HttpFileCollection.cs
- Rect3D.cs
- BasicBrowserDialog.designer.cs
- Wow64ConfigurationLoader.cs
- RemotingAttributes.cs
- SubclassTypeValidator.cs
- TreeNodeEventArgs.cs
- ObjectDataSourceEventArgs.cs
- CapiHashAlgorithm.cs
- AssemblyBuilder.cs
- TabControlAutomationPeer.cs
- XmlReflectionImporter.cs
- Single.cs
- DefaultValidator.cs
- ListDictionaryInternal.cs
- AppModelKnownContentFactory.cs
- NullableLongAverageAggregationOperator.cs
- CellParaClient.cs
- StreamWithDictionary.cs
- Ipv6Element.cs
- DataGridItemEventArgs.cs
- ByteAnimationBase.cs
- SafeHandles.cs