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
- Automation.cs
- SimpleHandlerBuildProvider.cs
- X509ChainPolicy.cs
- CuspData.cs
- URLIdentityPermission.cs
- XmlNodeChangedEventArgs.cs
- StatementContext.cs
- FastEncoderStatics.cs
- NativeMethods.cs
- HtmlButton.cs
- TargetFrameworkAttribute.cs
- StandardMenuStripVerb.cs
- ISO2022Encoding.cs
- RegisteredHiddenField.cs
- GestureRecognizer.cs
- ListViewGroupConverter.cs
- SmiRecordBuffer.cs
- OperatorExpressions.cs
- XmlNode.cs
- AlgoModule.cs
- BitmapEffect.cs
- GridViewHeaderRowPresenter.cs
- DataGridAddNewRow.cs
- ConfigurationCollectionAttribute.cs
- DefaultValueTypeConverter.cs
- VBIdentifierTrimConverter.cs
- WebConfigurationHostFileChange.cs
- DocumentViewerHelper.cs
- ClipboardProcessor.cs
- DataSourceProvider.cs
- GeneralTransform3DTo2DTo3D.cs
- ContentType.cs
- Clipboard.cs
- PrintDocument.cs
- ECDiffieHellman.cs
- VerticalAlignConverter.cs
- ToolStripSettings.cs
- QuaternionRotation3D.cs
- Line.cs
- XmlCustomFormatter.cs
- FormsAuthenticationConfiguration.cs
- ListChangedEventArgs.cs
- PackUriHelper.cs
- SqlDependencyListener.cs
- ProfileSection.cs
- EntityDataReader.cs
- RbTree.cs
- BehaviorService.cs
- GridViewDeleteEventArgs.cs
- OrderByBuilder.cs
- PartEditor.cs
- ImportRequest.cs
- VarInfo.cs
- PagePropertiesChangingEventArgs.cs
- SettingsSection.cs
- BamlRecordHelper.cs
- VariantWrapper.cs
- XPathAncestorQuery.cs
- Constraint.cs
- WriteLine.cs
- ActiveXHelper.cs
- CodeDomDecompiler.cs
- HtmlInputFile.cs
- ClientEventManager.cs
- Graph.cs
- DataServiceQueryProvider.cs
- CodeArgumentReferenceExpression.cs
- UserInitiatedNavigationPermission.cs
- ExtensibleClassFactory.cs
- HttpApplication.cs
- ConnectionInterfaceCollection.cs
- DocComment.cs
- UIElementPropertyUndoUnit.cs
- ChannelSinkStacks.cs
- Substitution.cs
- LicenseManager.cs
- HostnameComparisonMode.cs
- ExpressionVisitor.cs
- ConfigXmlText.cs
- NativeWrapper.cs
- LongValidator.cs
- AuthenticationConfig.cs
- Visual3D.cs
- DataGridViewUtilities.cs
- HtmlContainerControl.cs
- PropertyDescriptorComparer.cs
- HeaderElement.cs
- AppSettingsReader.cs
- IImplicitResourceProvider.cs
- EntityDataSourceStatementEditor.cs
- FilterableAttribute.cs
- WsdlHelpGeneratorElement.cs
- ImportCatalogPart.cs
- HostingEnvironment.cs
- SectionRecord.cs
- ISCIIEncoding.cs
- TdsParserStateObject.cs
- ToolboxService.cs
- Button.cs
- PropertyGroupDescription.cs