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
- HtmlInputImage.cs
- FrameworkReadOnlyPropertyMetadata.cs
- XmlReflectionImporter.cs
- FullTextBreakpoint.cs
- Size3D.cs
- SingleAnimation.cs
- XmlSchemaElement.cs
- HuffModule.cs
- WebPartEditorApplyVerb.cs
- RewritingPass.cs
- XmlSecureResolver.cs
- DataRowComparer.cs
- ArgumentFixer.cs
- KeyTimeConverter.cs
- OperatingSystem.cs
- StylusShape.cs
- FlowDocumentReaderAutomationPeer.cs
- DbParameterCollection.cs
- ToolStripComboBox.cs
- CodeNamespaceImport.cs
- RemotingServices.cs
- DetailsView.cs
- ParagraphResult.cs
- LoginDesignerUtil.cs
- TextUtf8RawTextWriter.cs
- ToolBarButtonDesigner.cs
- DashStyle.cs
- WizardPanel.cs
- graph.cs
- StylusPointDescription.cs
- ObjectDataSource.cs
- BaseValidator.cs
- Serializer.cs
- Stack.cs
- IntPtr.cs
- RolePrincipal.cs
- SchemaTableOptionalColumn.cs
- _ListenerResponseStream.cs
- NavigationFailedEventArgs.cs
- OptimisticConcurrencyException.cs
- WizardPanel.cs
- TemplateInstanceAttribute.cs
- XdrBuilder.cs
- CroppedBitmap.cs
- LayoutTable.cs
- Expander.cs
- CurrentChangedEventManager.cs
- Evidence.cs
- TableRow.cs
- AttachedAnnotation.cs
- MetadataArtifactLoaderCompositeResource.cs
- TimeoutException.cs
- SizeConverter.cs
- ResXResourceWriter.cs
- COM2ComponentEditor.cs
- SqlDataSourceStatusEventArgs.cs
- SHA512Managed.cs
- Container.cs
- UrlMapping.cs
- ExcludePathInfo.cs
- WinFormsComponentEditor.cs
- CreateUserWizardStep.cs
- Lasso.cs
- SqlDataSourceFilteringEventArgs.cs
- ArraySortHelper.cs
- SystemTcpConnection.cs
- Point3DAnimationUsingKeyFrames.cs
- ApplicationInfo.cs
- DatagridviewDisplayedBandsData.cs
- MappingSource.cs
- HMACRIPEMD160.cs
- Schema.cs
- SecurityListenerSettingsLifetimeManager.cs
- ParsedAttributeCollection.cs
- BufferModeSettings.cs
- XmlSchemaException.cs
- DSASignatureFormatter.cs
- ChameleonKey.cs
- VBIdentifierNameEditor.cs
- DateTimeParse.cs
- SqlDelegatedTransaction.cs
- AdRotator.cs
- TransformedBitmap.cs
- DiscoveryEndpoint.cs
- SourceFilter.cs
- IdentifierService.cs
- Control.cs
- XmlSchemaGroup.cs
- WebPartMenuStyle.cs
- DatePickerAutomationPeer.cs
- BufferedGraphicsManager.cs
- BufferedConnection.cs
- Transform3DGroup.cs
- TreeViewEvent.cs
- UpdatePanelControlTrigger.cs
- columnmapkeybuilder.cs
- MetadataItem.cs
- ByteKeyFrameCollection.cs
- RadioButtonPopupAdapter.cs
- ObjectQueryProvider.cs