Code:
/ FX-1434 / FX-1434 / 1.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
- XmlAttributeAttribute.cs
- ServiceContractGenerationContext.cs
- ListManagerBindingsCollection.cs
- ContentControl.cs
- Encoding.cs
- ConfigXmlElement.cs
- ObservableDictionary.cs
- ExpressionNormalizer.cs
- TableAutomationPeer.cs
- XmlQuerySequence.cs
- DelegateSerializationHolder.cs
- HttpCookieCollection.cs
- EventSinkHelperWriter.cs
- StateMachineDesignerPaint.cs
- SafeHandle.cs
- PolyLineSegmentFigureLogic.cs
- followingquery.cs
- UnknownBitmapDecoder.cs
- ContextMenuStripGroup.cs
- ProfileParameter.cs
- Subtree.cs
- FixedTextBuilder.cs
- PriorityQueue.cs
- ComponentChangedEvent.cs
- ListDictionary.cs
- BinaryCommonClasses.cs
- ListViewHitTestInfo.cs
- MissingMemberException.cs
- DesignerMetadata.cs
- TypeExtensionConverter.cs
- DataSourceCache.cs
- HttpWebRequest.cs
- OdbcPermission.cs
- DynamicValueConverter.cs
- BufferedStream.cs
- CustomValidator.cs
- DictionaryEntry.cs
- ArrayList.cs
- ServiceHostingEnvironment.cs
- SmiTypedGetterSetter.cs
- NumericUpDownAcceleration.cs
- AssemblyName.cs
- MenuDesigner.cs
- MergePropertyDescriptor.cs
- FieldDescriptor.cs
- DetailsViewDeleteEventArgs.cs
- DataGridViewLinkCell.cs
- EventArgs.cs
- _SslSessionsCache.cs
- listitem.cs
- JsonWriter.cs
- XPathScanner.cs
- ProjectionRewriter.cs
- HierarchicalDataBoundControl.cs
- TableColumnCollectionInternal.cs
- FileDialogCustomPlaces.cs
- TextContainer.cs
- UITypeEditor.cs
- TraceLevelStore.cs
- COM2PictureConverter.cs
- FormViewRow.cs
- UnicastIPAddressInformationCollection.cs
- mediaclock.cs
- MimeParameterWriter.cs
- HotSpotCollection.cs
- UnauthorizedWebPart.cs
- LabelDesigner.cs
- XamlValidatingReader.cs
- LinkDesigner.cs
- ObfuscateAssemblyAttribute.cs
- HtmlInputControl.cs
- XmlSerializableWriter.cs
- Validator.cs
- TraversalRequest.cs
- NamespaceList.cs
- TextSelectionHelper.cs
- ScriptBehaviorDescriptor.cs
- BindingGroup.cs
- PartBasedPackageProperties.cs
- DataGridViewCellCancelEventArgs.cs
- ConnectionsZoneAutoFormat.cs
- ScrollContentPresenter.cs
- CodeThrowExceptionStatement.cs
- HtmlMobileTextWriter.cs
- SqlInternalConnectionSmi.cs
- AstTree.cs
- ProfessionalColorTable.cs
- DetailsViewInsertEventArgs.cs
- TransformedBitmap.cs
- DesignerVerb.cs
- RSAProtectedConfigurationProvider.cs
- COAUTHIDENTITY.cs
- ToolboxService.cs
- HotCommands.cs
- SQLGuid.cs
- XmlNotation.cs
- ObjectIDGenerator.cs
- JournalNavigationScope.cs
- Compiler.cs
- RawStylusInputCustomDataList.cs