Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) {
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PersonalizationProvider.cs
- COM2ComponentEditor.cs
- DesignerTransaction.cs
- WhitespaceRuleLookup.cs
- WmlMobileTextWriter.cs
- StretchValidation.cs
- WebReferencesBuildProvider.cs
- PeerEndPoint.cs
- ComplexTypeEmitter.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- CapabilitiesState.cs
- SoapAttributeOverrides.cs
- TemplateColumn.cs
- CommentAction.cs
- DesignerGenericWebPart.cs
- Setter.cs
- Vector3dCollection.cs
- Drawing.cs
- ElapsedEventArgs.cs
- JoinCqlBlock.cs
- MenuTracker.cs
- Column.cs
- LOSFormatter.cs
- EventPrivateKey.cs
- XmlChildNodes.cs
- TextServicesCompartmentContext.cs
- ADRoleFactory.cs
- DiscreteKeyFrames.cs
- ProtocolsConfigurationEntry.cs
- GridEntryCollection.cs
- KeyboardEventArgs.cs
- CurrentChangingEventManager.cs
- CharacterMetrics.cs
- SystemNetHelpers.cs
- SHA1CryptoServiceProvider.cs
- MdiWindowListStrip.cs
- DirectoryObjectSecurity.cs
- WindowsAuthenticationEventArgs.cs
- DataServiceSaveChangesEventArgs.cs
- TreeViewTemplateSelector.cs
- webproxy.cs
- ClientUrlResolverWrapper.cs
- ClientSettingsSection.cs
- RootContext.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- EntityTransaction.cs
- ConfigXmlSignificantWhitespace.cs
- MeasureItemEvent.cs
- CompositeActivityTypeDescriptor.cs
- ImageCodecInfo.cs
- CommandDesigner.cs
- KeyGestureValueSerializer.cs
- HttpCapabilitiesEvaluator.cs
- RequestCache.cs
- SharedUtils.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- RelatedEnd.cs
- FamilyTypeface.cs
- TypeUsage.cs
- SafeFileMappingHandle.cs
- GridViewSelectEventArgs.cs
- AddingNewEventArgs.cs
- SoapIgnoreAttribute.cs
- ComplexTypeEmitter.cs
- WebPartTracker.cs
- XPathNavigatorReader.cs
- MenuItemBinding.cs
- TimelineClockCollection.cs
- Mutex.cs
- TreeViewAutomationPeer.cs
- DependencyPropertyAttribute.cs
- PageAsyncTask.cs
- SourceSwitch.cs
- TextTreeUndo.cs
- OrderingQueryOperator.cs
- MarkupCompiler.cs
- ScrollViewerAutomationPeer.cs
- XmlnsCache.cs
- VoiceSynthesis.cs
- TypeElement.cs
- TextSelectionHighlightLayer.cs
- Expr.cs
- ConfigUtil.cs
- WpfKnownType.cs
- SiteMapDataSourceView.cs
- InputBuffer.cs
- DescendantQuery.cs
- SecurityContext.cs
- TypeDelegator.cs
- AssemblyBuilderData.cs
- MulticastOption.cs
- XamlWrappingReader.cs
- ButtonColumn.cs
- Rect.cs
- StringComparer.cs
- BitmapImage.cs
- PngBitmapEncoder.cs
- CatalogZoneBase.cs
- GeometryConverter.cs
- FirewallWrapper.cs