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
- PropertyConverter.cs
- ResXBuildProvider.cs
- DefaultProfileManager.cs
- connectionpool.cs
- StateMachine.cs
- ControlBuilderAttribute.cs
- WebPartCloseVerb.cs
- DataGridViewCellLinkedList.cs
- ToggleProviderWrapper.cs
- Geometry3D.cs
- BindingsCollection.cs
- XmlSchemaDatatype.cs
- StylusPointPropertyInfoDefaults.cs
- SelectingProviderEventArgs.cs
- NavigationProgressEventArgs.cs
- HttpWriter.cs
- HtmlEncodedRawTextWriter.cs
- EventProvider.cs
- KoreanLunisolarCalendar.cs
- Brush.cs
- SoapParser.cs
- XsdDataContractImporter.cs
- AddInServer.cs
- UInt64Storage.cs
- ExitEventArgs.cs
- Int32KeyFrameCollection.cs
- MsmqInputMessagePool.cs
- BasicHttpMessageCredentialType.cs
- typedescriptorpermissionattribute.cs
- DbConnectionInternal.cs
- BamlLocalizationDictionary.cs
- RightNameExpirationInfoPair.cs
- DynamicControl.cs
- FactoryRecord.cs
- XmlJsonReader.cs
- DataGridViewRowStateChangedEventArgs.cs
- Accessible.cs
- WebScriptMetadataMessageEncodingBindingElement.cs
- HttpPostServerProtocol.cs
- AssemblyInfo.cs
- DbParameterHelper.cs
- TypedTableBaseExtensions.cs
- BinaryObjectInfo.cs
- ViewCellSlot.cs
- ImageInfo.cs
- TableLayoutSettings.cs
- SettingsPropertyCollection.cs
- Switch.cs
- TextServicesPropertyRanges.cs
- SecurityKeyIdentifierClause.cs
- DataGridViewToolTip.cs
- PathFigure.cs
- UserNameSecurityTokenProvider.cs
- MimePart.cs
- XmlSerializationReader.cs
- SqlTopReducer.cs
- FileClassifier.cs
- shaperfactory.cs
- SamlSubjectStatement.cs
- EtwTrace.cs
- Hex.cs
- ProcessHostMapPath.cs
- LogFlushAsyncResult.cs
- AsymmetricSignatureDeformatter.cs
- CompressStream.cs
- StringUtil.cs
- WebServiceHandlerFactory.cs
- HMACSHA512.cs
- LightweightEntityWrapper.cs
- TabletDevice.cs
- SelectionPatternIdentifiers.cs
- ManagementEventWatcher.cs
- PropertyBuilder.cs
- SecurityAlgorithmSuiteConverter.cs
- PrintingPermissionAttribute.cs
- EncodingDataItem.cs
- SQLRoleProvider.cs
- SearchForVirtualItemEventArgs.cs
- XmlReaderDelegator.cs
- Label.cs
- HtmlInputHidden.cs
- RedirectionProxy.cs
- TemplateBuilder.cs
- LinkedResource.cs
- AppDomainUnloadedException.cs
- StylusPoint.cs
- Journaling.cs
- MimeWriter.cs
- IdentityNotMappedException.cs
- FixedStringLookup.cs
- ConnectionStringsExpressionBuilder.cs
- PeerNearMe.cs
- XmlDataLoader.cs
- DataGridViewRowConverter.cs
- SyndicationSerializer.cs
- ValidationErrorEventArgs.cs
- EntitySqlQueryCacheKey.cs
- cache.cs
- _NegotiateClient.cs
- GlobalProxySelection.cs