Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- BinaryConverter.cs
- FormConverter.cs
- HttpCookie.cs
- ImageCodecInfoPrivate.cs
- XPathNavigatorReader.cs
- TextInfo.cs
- ValidationError.cs
- MasterPageCodeDomTreeGenerator.cs
- ObjectDataProvider.cs
- TableItemPattern.cs
- ImageAnimator.cs
- XmlWrappingReader.cs
- List.cs
- BaseHashHelper.cs
- AxWrapperGen.cs
- ListenerBinder.cs
- QilLiteral.cs
- MimeMapping.cs
- NativeMethods.cs
- X509ChainPolicy.cs
- RegexCapture.cs
- FocusTracker.cs
- IteratorDescriptor.cs
- ApplicationInfo.cs
- StoryFragments.cs
- TabPanel.cs
- AdCreatedEventArgs.cs
- StylusPointDescription.cs
- LayoutEditorPart.cs
- TransactionFlowProperty.cs
- PermissionToken.cs
- XmlLanguageConverter.cs
- BStrWrapper.cs
- BindingWorker.cs
- WindowsFormsSynchronizationContext.cs
- SystemIPv6InterfaceProperties.cs
- SessionStateUtil.cs
- XmlTypeMapping.cs
- PtsHelper.cs
- CatalogZoneBase.cs
- DBSqlParserColumn.cs
- ColorBlend.cs
- TextWriterEngine.cs
- AssociationSet.cs
- DbCommandTree.cs
- LineMetrics.cs
- DoubleLink.cs
- ResXResourceSet.cs
- wmiprovider.cs
- DesignerAttribute.cs
- Renderer.cs
- DataService.cs
- XmlNodeList.cs
- Int64AnimationUsingKeyFrames.cs
- FixedLineResult.cs
- RichListBox.cs
- ItemCheckedEvent.cs
- FamilyMapCollection.cs
- CodeStatement.cs
- ServicePointManagerElement.cs
- PolicyManager.cs
- OracleInfoMessageEventArgs.cs
- CompoundFileIOPermission.cs
- DrawingGroup.cs
- XmlSchemaNotation.cs
- Semaphore.cs
- Table.cs
- ADConnectionHelper.cs
- ViewStateException.cs
- CodeAttributeArgumentCollection.cs
- RowToParametersTransformer.cs
- ReferenceSchema.cs
- NullableDecimalMinMaxAggregationOperator.cs
- GlyphInfoList.cs
- WithStatement.cs
- HttpRuntimeSection.cs
- EventListenerClientSide.cs
- XmlWriterSettings.cs
- DispatchWrapper.cs
- ZoneButton.cs
- CompiledQueryCacheKey.cs
- ConnectionConsumerAttribute.cs
- SoapFormatter.cs
- MLangCodePageEncoding.cs
- RegularExpressionValidator.cs
- SoapSchemaImporter.cs
- TemplateComponentConnector.cs
- WeakReference.cs
- EntityViewGenerationAttribute.cs
- WmlLiteralTextAdapter.cs
- NonVisualControlAttribute.cs
- ActivityDefaults.cs
- XNodeSchemaApplier.cs
- SqlDependency.cs
- TypeSystemHelpers.cs
- DependencyPropertyHelper.cs
- Fault.cs
- EdmFunction.cs
- XmlSchemaExporter.cs
- Highlights.cs