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
- Activator.cs
- LinqTreeNodeEvaluator.cs
- DesignerActionKeyboardBehavior.cs
- InvokeFunc.cs
- DesignerTransactionCloseEvent.cs
- DoubleSumAggregationOperator.cs
- XmlSchemaSimpleContent.cs
- MemberDescriptor.cs
- FlagsAttribute.cs
- DateTimeStorage.cs
- TreeNode.cs
- SHA384.cs
- ReliabilityContractAttribute.cs
- figurelengthconverter.cs
- XmlNode.cs
- WebException.cs
- BindingValueChangedEventArgs.cs
- TableChangeProcessor.cs
- ParseHttpDate.cs
- CompositeActivityCodeGenerator.cs
- HttpRawResponse.cs
- odbcmetadatacolumnnames.cs
- DelegateSerializationHolder.cs
- MemberAssignment.cs
- ExceptionUtil.cs
- AutomationPatternInfo.cs
- TrustManagerPromptUI.cs
- UnsafeNativeMethods.cs
- WsatServiceAddress.cs
- loginstatus.cs
- ConnectionPoint.cs
- SortQuery.cs
- OutputCacheProfile.cs
- TextTreeTextBlock.cs
- Utilities.cs
- FilterException.cs
- PrimitiveSchema.cs
- NetSectionGroup.cs
- MissingFieldException.cs
- PathFigureCollection.cs
- UnmanagedMemoryStreamWrapper.cs
- WinEventTracker.cs
- DesignerDataView.cs
- HttpDigestClientElement.cs
- WebPartChrome.cs
- Geometry.cs
- HMAC.cs
- CodeTypeOfExpression.cs
- DataSourceControlBuilder.cs
- SQLSingle.cs
- PersonalizableTypeEntry.cs
- CancellationHandlerDesigner.cs
- ToolStripItem.cs
- XmlSchemaAttributeGroup.cs
- DataGridViewColumn.cs
- MetricEntry.cs
- ImageKeyConverter.cs
- WebPartDeleteVerb.cs
- CorrelationTokenTypeConvertor.cs
- IDictionary.cs
- SafeBitVector32.cs
- TypeSource.cs
- InputDevice.cs
- ContentElement.cs
- DataShape.cs
- Label.cs
- ObjectParameter.cs
- MSAANativeProvider.cs
- EventLogger.cs
- MLangCodePageEncoding.cs
- NativeCompoundFileAPIs.cs
- LambdaCompiler.Generated.cs
- Literal.cs
- X509Chain.cs
- WebPartDisplayModeEventArgs.cs
- FontFamily.cs
- SizeAnimationBase.cs
- BufferModesCollection.cs
- ApplicationActivator.cs
- SpAudioStreamWrapper.cs
- metadatamappinghashervisitor.cs
- FrameworkContentElement.cs
- RunInstallerAttribute.cs
- BaseParser.cs
- SiteMapNode.cs
- OrderedDictionary.cs
- DataGridClipboardCellContent.cs
- PeerCustomResolverBindingElement.cs
- EventPrivateKey.cs
- MappingModelBuildProvider.cs
- EpmSyndicationContentSerializer.cs
- _ShellExpression.cs
- CollectionViewGroupRoot.cs
- FilterElement.cs
- HtmlInputText.cs
- AspCompat.cs
- SafeNativeMethods.cs
- RelationshipDetailsRow.cs
- Util.cs
- HttpCachePolicyWrapper.cs