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
- FileDialog.cs
- TextServicesCompartmentContext.cs
- HebrewNumber.cs
- FileVersion.cs
- CodeTypeDeclaration.cs
- Path.cs
- ErrorWebPart.cs
- DataPagerFieldCollection.cs
- SmiMetaData.cs
- ChtmlLinkAdapter.cs
- MDIClient.cs
- Single.cs
- TextEffectCollection.cs
- HierarchicalDataBoundControl.cs
- WebSysDescriptionAttribute.cs
- httpstaticobjectscollection.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- StdValidatorsAndConverters.cs
- MessageQueueAccessControlEntry.cs
- ResourceProviderFactory.cs
- ColorTransformHelper.cs
- ThreadAttributes.cs
- EventProxy.cs
- GetPageNumberCompletedEventArgs.cs
- FirstMatchCodeGroup.cs
- DbConnectionPoolIdentity.cs
- ECDiffieHellmanPublicKey.cs
- RotateTransform3D.cs
- ForeignKeyConstraint.cs
- BitVec.cs
- UserControlCodeDomTreeGenerator.cs
- Brushes.cs
- KeyInstance.cs
- AuthenticationModuleElementCollection.cs
- FormsAuthenticationConfiguration.cs
- AnyReturnReader.cs
- DnsElement.cs
- ThemeableAttribute.cs
- WCFBuildProvider.cs
- Int32Storage.cs
- FontFamilyConverter.cs
- ServiceOperationInfoTypeConverter.cs
- FlowLayout.cs
- TextServicesCompartment.cs
- XamlPointCollectionSerializer.cs
- SqlDuplicator.cs
- Style.cs
- NullableDoubleSumAggregationOperator.cs
- Process.cs
- SymLanguageVendor.cs
- Blend.cs
- TimeZoneNotFoundException.cs
- UriTemplateTable.cs
- GrabHandleGlyph.cs
- Int32Animation.cs
- EmissiveMaterial.cs
- UnknownBitmapDecoder.cs
- SystemInfo.cs
- MessageVersion.cs
- RequiredAttributeAttribute.cs
- StringSource.cs
- FloaterBaseParaClient.cs
- HttpApplicationFactory.cs
- Matrix.cs
- DateTimeParse.cs
- RoutedEventArgs.cs
- HttpListener.cs
- BindStream.cs
- HitTestWithGeometryDrawingContextWalker.cs
- AssociationEndMember.cs
- ButtonStandardAdapter.cs
- RelationshipEndMember.cs
- EntityCommandDefinition.cs
- OdbcTransaction.cs
- ConnectionPointCookie.cs
- RouteParser.cs
- XPathParser.cs
- LinqDataSource.cs
- DebugTrace.cs
- XmlNode.cs
- UserControlFileEditor.cs
- SyndicationElementExtensionCollection.cs
- HttpListenerRequest.cs
- InternalConfigEventArgs.cs
- SerializationFieldInfo.cs
- XamlStyleSerializer.cs
- SynchronizationLockException.cs
- XmlMapping.cs
- NameSpaceExtractor.cs
- DoWorkEventArgs.cs
- TripleDESCryptoServiceProvider.cs
- EmptyQuery.cs
- Image.cs
- ConfigXmlAttribute.cs
- XsltContext.cs
- DataBindingCollection.cs
- _AcceptOverlappedAsyncResult.cs
- FormsAuthenticationUserCollection.cs
- Byte.cs
- ConstraintStruct.cs