Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / PlatformNotSupportedException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated protected PlatformNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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); } [System.Security.SecuritySafeCritical] // auto-generated protected PlatformNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UIElementParaClient.cs
- ConnectionStringSettings.cs
- ArrayWithOffset.cs
- ColumnHeaderConverter.cs
- _ScatterGatherBuffers.cs
- SectionXmlInfo.cs
- Queue.cs
- UnsafeNativeMethods.cs
- ShortcutKeysEditor.cs
- SystemBrushes.cs
- DataGridViewCell.cs
- BrowserCapabilitiesCodeGenerator.cs
- Assembly.cs
- SafeNativeMethods.cs
- XmlDocument.cs
- IEnumerable.cs
- InputLangChangeEvent.cs
- UntypedNullExpression.cs
- BindingList.cs
- BindingSource.cs
- RestHandlerFactory.cs
- FrameworkContentElementAutomationPeer.cs
- MemberRelationshipService.cs
- SHA256CryptoServiceProvider.cs
- CollectionViewProxy.cs
- AnnotationObservableCollection.cs
- BaseHashHelper.cs
- NavigationCommands.cs
- SmtpCommands.cs
- URI.cs
- InvalidTimeZoneException.cs
- TableLayout.cs
- MemberInitExpression.cs
- MaterializeFromAtom.cs
- StreamedWorkflowDefinitionContext.cs
- CodeFieldReferenceExpression.cs
- _NegotiateClient.cs
- RenderTargetBitmap.cs
- TreeViewItem.cs
- MetadataArtifactLoaderFile.cs
- XamlTreeBuilder.cs
- SpnegoTokenProvider.cs
- Base64Decoder.cs
- ScrollItemPattern.cs
- XmlQualifiedNameTest.cs
- UnsafeNetInfoNativeMethods.cs
- DbProviderSpecificTypePropertyAttribute.cs
- DataGridViewColumn.cs
- FrameworkObject.cs
- StrongNameKeyPair.cs
- XPathSelectionIterator.cs
- StylusShape.cs
- SafeLocalMemHandle.cs
- XmlSerializableReader.cs
- WebBrowsableAttribute.cs
- SafeLocalMemHandle.cs
- EntityClientCacheKey.cs
- TabControlCancelEvent.cs
- VisualBrush.cs
- TaskForm.cs
- EncoderFallback.cs
- SQLInt16Storage.cs
- CommentEmitter.cs
- SpStreamWrapper.cs
- ClientOptions.cs
- PixelFormat.cs
- HwndHost.cs
- OdbcParameter.cs
- RecordManager.cs
- DBCommandBuilder.cs
- TypeBuilder.cs
- ButtonBase.cs
- InputScopeNameConverter.cs
- DiscoveryDocumentLinksPattern.cs
- RegexGroup.cs
- ProfileManager.cs
- BasicCellRelation.cs
- SiteMapDataSourceView.cs
- Color.cs
- ExcCanonicalXml.cs
- ZeroOpNode.cs
- WindowsAuthenticationEventArgs.cs
- SourceFileBuildProvider.cs
- HttpContext.cs
- NumberAction.cs
- ipaddressinformationcollection.cs
- StringInfo.cs
- AttributeTableBuilder.cs
- CrossContextChannel.cs
- UndirectedGraph.cs
- DocumentEventArgs.cs
- ClientRuntimeConfig.cs
- ControlParameter.cs
- Scripts.cs
- ListenerConfig.cs
- SafeWaitHandle.cs
- listitem.cs
- ClusterRegistryConfigurationProvider.cs
- InvokePatternIdentifiers.cs
- GuidelineSet.cs