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
- ValidatorCollection.cs
- UserNameSecurityToken.cs
- CodeBlockBuilder.cs
- Marshal.cs
- WindowsHyperlink.cs
- ButtonBaseAdapter.cs
- RSAProtectedConfigurationProvider.cs
- PageAdapter.cs
- TdsRecordBufferSetter.cs
- AttributeQuery.cs
- ComponentTray.cs
- CodeRegionDirective.cs
- SimpleType.cs
- complextypematerializer.cs
- SmtpDigestAuthenticationModule.cs
- LineProperties.cs
- dtdvalidator.cs
- CaseInsensitiveHashCodeProvider.cs
- SpecialFolderEnumConverter.cs
- EdmItemError.cs
- SwitchLevelAttribute.cs
- ContainerCodeDomSerializer.cs
- TableLayoutPanelCellPosition.cs
- BindMarkupExtensionSerializer.cs
- SQLInt64Storage.cs
- ListViewAutomationPeer.cs
- CodeAttributeDeclarationCollection.cs
- TypeInitializationException.cs
- RelationshipConstraintValidator.cs
- HttpWebResponse.cs
- Point3DConverter.cs
- XPathAncestorIterator.cs
- DateTimeConstantAttribute.cs
- WSFederationHttpSecurityMode.cs
- ReflectionHelper.cs
- StringUtil.cs
- SoapExtensionImporter.cs
- AbandonedMutexException.cs
- AttributeProviderAttribute.cs
- PropertyKey.cs
- FilteredXmlReader.cs
- ComplusTypeValidator.cs
- TdsParserSessionPool.cs
- UserPreferenceChangedEventArgs.cs
- ToolStripProgressBar.cs
- GridEntry.cs
- TypeBrowser.xaml.cs
- AlignmentYValidation.cs
- RootBrowserWindowAutomationPeer.cs
- ProfileParameter.cs
- Error.cs
- TypefaceMap.cs
- PatternMatchRules.cs
- Activator.cs
- HostDesigntimeLicenseContext.cs
- nulltextnavigator.cs
- XmlSerializationWriter.cs
- InternalCache.cs
- ReadOnlyDataSource.cs
- CharAnimationBase.cs
- Underline.cs
- Sql8ConformanceChecker.cs
- PerformanceCounter.cs
- RegexWriter.cs
- HtmlDocument.cs
- XPathParser.cs
- DynamicResourceExtension.cs
- CompressedStack.cs
- CustomErrorsSection.cs
- AutoGeneratedField.cs
- PropertyConverter.cs
- InkPresenter.cs
- Exceptions.cs
- CaseInsensitiveOrdinalStringComparer.cs
- OdbcEnvironment.cs
- HttpServerVarsCollection.cs
- CodeAssignStatement.cs
- ScrollEventArgs.cs
- DPTypeDescriptorContext.cs
- CachedFontFamily.cs
- GridViewUpdateEventArgs.cs
- QuaternionIndependentAnimationStorage.cs
- HybridDictionary.cs
- HuffModule.cs
- RoleManagerEventArgs.cs
- DataSetMappper.cs
- TranslateTransform3D.cs
- RecommendedAsConfigurableAttribute.cs
- SessionPageStatePersister.cs
- MenuStrip.cs
- TransactionBridgeSection.cs
- DataIdProcessor.cs
- LockedBorderGlyph.cs
- ValueTable.cs
- AggregateNode.cs
- AppliedDeviceFiltersDialog.cs
- SchemaNotation.cs
- AnnotationResourceChangedEventArgs.cs
- HealthMonitoringSectionHelper.cs
- ArrayConverter.cs