Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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) { } } } // 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); } 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
- SpanIndex.cs
- EllipseGeometry.cs
- WFItemsToSpacerVisibility.cs
- FunctionNode.cs
- AuthenticationServiceManager.cs
- DataRecordInternal.cs
- _OSSOCK.cs
- ApplicationException.cs
- ToolStripSeparator.cs
- DataServiceHost.cs
- CellCreator.cs
- SafeLibraryHandle.cs
- BookmarkEventArgs.cs
- SimpleTableProvider.cs
- NGCSerializationManagerAsync.cs
- Axis.cs
- UriTemplateTableMatchCandidate.cs
- ISFTagAndGuidCache.cs
- DataGridColumnCollectionEditor.cs
- DesignerProperties.cs
- SmiRecordBuffer.cs
- EventArgs.cs
- Splitter.cs
- ScriptDescriptor.cs
- HotSpotCollection.cs
- WebPartVerbsEventArgs.cs
- WindowsStreamSecurityBindingElement.cs
- DataGridViewCellValidatingEventArgs.cs
- webproxy.cs
- StatusBar.cs
- WindowsRegion.cs
- ProcessHostServerConfig.cs
- Wizard.cs
- TargetException.cs
- DescendantQuery.cs
- TemplateField.cs
- FunctionUpdateCommand.cs
- DiagnosticsConfiguration.cs
- TableHeaderCell.cs
- SchemaCollectionPreprocessor.cs
- Track.cs
- SmiRecordBuffer.cs
- ApplicationSecurityInfo.cs
- OdbcException.cs
- HwndStylusInputProvider.cs
- SystemResourceHost.cs
- ResourceDictionaryCollection.cs
- Material.cs
- StagingAreaInputItem.cs
- WaitingCursor.cs
- ComplexBindingPropertiesAttribute.cs
- UnmanagedMemoryStreamWrapper.cs
- FormCollection.cs
- Timer.cs
- EditingMode.cs
- WebServiceParameterData.cs
- FlowLayoutSettings.cs
- SignedXml.cs
- RequestCacheValidator.cs
- xsdvalidator.cs
- GCHandleCookieTable.cs
- SiteMapNode.cs
- HttpClientCertificate.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- CryptoKeySecurity.cs
- HandleCollector.cs
- COSERVERINFO.cs
- SmtpNetworkElement.cs
- PointValueSerializer.cs
- SemanticKeyElement.cs
- WindowsScroll.cs
- DataControlButton.cs
- CapabilitiesSection.cs
- Helper.cs
- InsufficientExecutionStackException.cs
- BlockCollection.cs
- TextSpan.cs
- FixedSOMLineRanges.cs
- DashStyle.cs
- Compiler.cs
- Point3DCollectionConverter.cs
- TextServicesCompartmentEventSink.cs
- MouseButton.cs
- EntryIndex.cs
- ImageIndexConverter.cs
- XmlLinkedNode.cs
- TransactionChannelListener.cs
- XmlImplementation.cs
- XamlPathDataSerializer.cs
- HandleCollector.cs
- InvalidOleVariantTypeException.cs
- EnterpriseServicesHelper.cs
- _HeaderInfo.cs
- XPathExpr.cs
- PartialTrustHelpers.cs
- ProxyWebPart.cs
- SqlDataReader.cs
- TdsEnums.cs
- WindowsListViewGroup.cs
- TPLETWProvider.cs