Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- MergePropertyDescriptor.cs
- QilLoop.cs
- DataGridSortCommandEventArgs.cs
- XXXOnTypeBuilderInstantiation.cs
- RectangleGeometry.cs
- TextPattern.cs
- SupportedAddressingMode.cs
- ScrollChrome.cs
- SessionIDManager.cs
- XamlInterfaces.cs
- Wizard.cs
- DbDataSourceEnumerator.cs
- PermissionListSet.cs
- UserCancellationException.cs
- ContentElementAutomationPeer.cs
- Pipe.cs
- Canvas.cs
- CookieParameter.cs
- EntityDataSourceSelectedEventArgs.cs
- TiffBitmapDecoder.cs
- WebPartVerb.cs
- SymmetricAlgorithm.cs
- HttpListenerResponse.cs
- FloaterBaseParaClient.cs
- QueryConverter.cs
- _SSPISessionCache.cs
- ProcessHostMapPath.cs
- BounceEase.cs
- FontStyle.cs
- Visual.cs
- EntityDataSourceMemberPath.cs
- HwndProxyElementProvider.cs
- XPathNavigatorReader.cs
- messageonlyhwndwrapper.cs
- ConfigurationPropertyCollection.cs
- Compensation.cs
- tooltip.cs
- InputScopeNameConverter.cs
- SchemaConstraints.cs
- GcHandle.cs
- TaskHelper.cs
- ContentPlaceHolderDesigner.cs
- PrintControllerWithStatusDialog.cs
- DiscardableAttribute.cs
- ToolboxItemCollection.cs
- StringTraceRecord.cs
- EntityCodeGenerator.cs
- DesignerTransaction.cs
- SubqueryRules.cs
- DmlSqlGenerator.cs
- PermissionSetEnumerator.cs
- ReadWriteSpinLock.cs
- Cursors.cs
- SafeCancelMibChangeNotify.cs
- DNS.cs
- WebPartsPersonalizationAuthorization.cs
- Thumb.cs
- InteropBitmapSource.cs
- BlurBitmapEffect.cs
- NonClientArea.cs
- CipherData.cs
- TextModifierScope.cs
- BinaryFormatterWriter.cs
- DataServiceQueryProvider.cs
- InheritanceService.cs
- VariableQuery.cs
- SelectionRange.cs
- Decoder.cs
- _TLSstream.cs
- Stream.cs
- ExternalFile.cs
- ConfigPathUtility.cs
- GridViewCellAutomationPeer.cs
- _NegoStream.cs
- HtmlInputSubmit.cs
- _HTTPDateParse.cs
- KeyedQueue.cs
- DuplexChannelFactory.cs
- NamespaceMapping.cs
- PointHitTestParameters.cs
- DelayedRegex.cs
- WorkflowItemPresenter.cs
- DetailsViewRow.cs
- WizardPanelChangingEventArgs.cs
- AppSettingsExpressionBuilder.cs
- Mapping.cs
- CallSiteBinder.cs
- XmlAnyAttributeAttribute.cs
- TableDetailsRow.cs
- TableRowCollection.cs
- PlatformCulture.cs
- DataListItemEventArgs.cs
- ToolStripContentPanel.cs
- Verify.cs
- Int16KeyFrameCollection.cs
- PhonemeEventArgs.cs
- RoutedUICommand.cs
- NameValueFileSectionHandler.cs
- ViewStateModeByIdAttribute.cs
- OleDbErrorCollection.cs