Code:
/ FX-1434 / FX-1434 / 1.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
- UriSection.cs
- KnowledgeBase.cs
- metadatamappinghashervisitor.cs
- AutomationProperties.cs
- MemberProjectedSlot.cs
- SystemParameters.cs
- XPathParser.cs
- UInt64Storage.cs
- MenuCommands.cs
- OdbcEnvironment.cs
- GestureRecognizer.cs
- SecureStringHasher.cs
- RbTree.cs
- XPathParser.cs
- MappingModelBuildProvider.cs
- OleDbInfoMessageEvent.cs
- BasicAsyncResult.cs
- Accessors.cs
- TransactionScopeDesigner.cs
- TypedReference.cs
- RegexCompiler.cs
- ExeConfigurationFileMap.cs
- ThreadExceptionDialog.cs
- ClearTypeHintValidation.cs
- SoapAttributeOverrides.cs
- SqlDataSourceView.cs
- LinqDataSource.cs
- RoutedEventArgs.cs
- SqlRetyper.cs
- DataGridViewAddColumnDialog.cs
- BitStream.cs
- BoolLiteral.cs
- TdsEnums.cs
- MethodAccessException.cs
- RSAPKCS1SignatureDeformatter.cs
- CustomWebEventKey.cs
- RadioButton.cs
- SerialReceived.cs
- FileBasedResourceGroveler.cs
- CallContext.cs
- PersistenceException.cs
- ObjectViewFactory.cs
- SAPICategories.cs
- IDispatchConstantAttribute.cs
- SqlInfoMessageEvent.cs
- PackagePart.cs
- DataBindingHandlerAttribute.cs
- InternalBase.cs
- GridViewCellAutomationPeer.cs
- OleDbMetaDataFactory.cs
- ProxyHwnd.cs
- XmlLanguage.cs
- DynamicPropertyReader.cs
- IdentifierService.cs
- ConsumerConnectionPointCollection.cs
- xmlsaver.cs
- SerializationObjectManager.cs
- RichTextBoxConstants.cs
- FontStretchConverter.cs
- EventBuilder.cs
- TabPageDesigner.cs
- RawStylusActions.cs
- ListItemParagraph.cs
- COSERVERINFO.cs
- MeshGeometry3D.cs
- DesignerAdapterAttribute.cs
- Int32KeyFrameCollection.cs
- MemberHolder.cs
- OracleInfoMessageEventArgs.cs
- PerfService.cs
- ThreadPool.cs
- OneToOneMappingSerializer.cs
- WsatConfiguration.cs
- SchemeSettingElement.cs
- ProcessHostServerConfig.cs
- CatalogPart.cs
- ConnectionStringsExpressionBuilder.cs
- AssociatedControlConverter.cs
- SelectionUIHandler.cs
- Constraint.cs
- RootBrowserWindowAutomationPeer.cs
- Array.cs
- ParentQuery.cs
- EntitySqlQueryBuilder.cs
- Literal.cs
- EndOfStreamException.cs
- CompensableActivity.cs
- CrossSiteScriptingValidation.cs
- TemplatedEditableDesignerRegion.cs
- XslAstAnalyzer.cs
- MemoryFailPoint.cs
- LicenseException.cs
- DataGridViewRowPrePaintEventArgs.cs
- CheckBoxRenderer.cs
- MimeMapping.cs
- SemanticBasicElement.cs
- WebPartTransformerAttribute.cs
- SaveFileDialog.cs
- PersistenceProviderDirectory.cs
- DragDeltaEventArgs.cs