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
- CachedPathData.cs
- CheckBoxPopupAdapter.cs
- Base64Decoder.cs
- DataGridClipboardHelper.cs
- BinHexEncoding.cs
- SQLRoleProvider.cs
- CodeParameterDeclarationExpressionCollection.cs
- SQLDecimalStorage.cs
- KeyedByTypeCollection.cs
- graph.cs
- SqlClientMetaDataCollectionNames.cs
- CdpEqualityComparer.cs
- ChildrenQuery.cs
- SinglePhaseEnlistment.cs
- CompositeCollection.cs
- BitmapFrameEncode.cs
- InputElement.cs
- OleDbCommand.cs
- DataGridViewCellValidatingEventArgs.cs
- ToolStripContentPanelRenderEventArgs.cs
- NamespaceInfo.cs
- ReadOnlyHierarchicalDataSourceView.cs
- LongAverageAggregationOperator.cs
- DbConnectionPoolGroupProviderInfo.cs
- ManipulationCompletedEventArgs.cs
- ConfigurationManagerInternal.cs
- _Connection.cs
- UnsafeNativeMethodsMilCoreApi.cs
- ExtensionElementCollection.cs
- GC.cs
- ExpressionEditorAttribute.cs
- UriParserTemplates.cs
- PtsContext.cs
- AnnotationComponentManager.cs
- SequentialUshortCollection.cs
- WebConfigurationHostFileChange.cs
- Equal.cs
- xmlfixedPageInfo.cs
- TypeConverterHelper.cs
- ServiceHostingEnvironment.cs
- DtcInterfaces.cs
- WindowsFormsSynchronizationContext.cs
- DynamicMethod.cs
- CodeCatchClauseCollection.cs
- WmlTextViewAdapter.cs
- WsatServiceCertificate.cs
- PngBitmapEncoder.cs
- JpegBitmapDecoder.cs
- TreeNodeMouseHoverEvent.cs
- PageRequestManager.cs
- SettingsAttributeDictionary.cs
- RequiredFieldValidator.cs
- DataServiceRequest.cs
- DbConnectionPoolGroup.cs
- ValueConversionAttribute.cs
- FirstMatchCodeGroup.cs
- Transform.cs
- ImageListImageEditor.cs
- NetMsmqBindingCollectionElement.cs
- ListDictionaryInternal.cs
- XXXInfos.cs
- MouseBinding.cs
- IpcChannelHelper.cs
- RelationshipConverter.cs
- ProcessInfo.cs
- ViewStateException.cs
- OleDbMetaDataFactory.cs
- QueryContext.cs
- DataGridCommandEventArgs.cs
- VirtualPathUtility.cs
- SQLInt32.cs
- VectorValueSerializer.cs
- MethodImplAttribute.cs
- ObjectCloneHelper.cs
- XmlReader.cs
- Exception.cs
- AnimationTimeline.cs
- RoleManagerSection.cs
- XdrBuilder.cs
- XPathCompileException.cs
- TemplateEditingService.cs
- X509Utils.cs
- VirtualizingPanel.cs
- Config.cs
- TransformerTypeCollection.cs
- InputScope.cs
- HtmlInputHidden.cs
- Debug.cs
- GeometryDrawing.cs
- XmlSiteMapProvider.cs
- XhtmlBasicSelectionListAdapter.cs
- LockedBorderGlyph.cs
- FontCacheUtil.cs
- ObjectDataSourceView.cs
- StringUtil.cs
- CompositeTypefaceMetrics.cs
- HandlerFactoryWrapper.cs
- RunInstallerAttribute.cs
- TreeNodeCollection.cs
- TypeBuilderInstantiation.cs