Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / PlatformNotSupportedException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- UniqueCodeIdentifierScope.cs
- GPStream.cs
- WindowsIPAddress.cs
- FileRegion.cs
- XmlNavigatorStack.cs
- WmlTextViewAdapter.cs
- XmlPropertyBag.cs
- PageRanges.cs
- PersistChildrenAttribute.cs
- SmiSettersStream.cs
- controlskin.cs
- ColorIndependentAnimationStorage.cs
- LostFocusEventManager.cs
- Storyboard.cs
- EncodingDataItem.cs
- Decorator.cs
- PropertyContainer.cs
- TextTreeExtractElementUndoUnit.cs
- WindowsToolbarAsMenu.cs
- SecurityAppliedMessage.cs
- Control.cs
- EdmType.cs
- ConfigXmlComment.cs
- Adorner.cs
- QilDataSource.cs
- FixedTextPointer.cs
- XMLDiffLoader.cs
- WebResponse.cs
- DocumentPageView.cs
- EventBookmark.cs
- PersonalizationStateInfo.cs
- ProfileBuildProvider.cs
- Color.cs
- UIElement3DAutomationPeer.cs
- Command.cs
- ParagraphVisual.cs
- ResXResourceReader.cs
- TagPrefixInfo.cs
- EntryPointNotFoundException.cs
- DataGridViewCellCancelEventArgs.cs
- RoleGroup.cs
- HttpCachePolicyElement.cs
- LinqDataSourceSelectEventArgs.cs
- PackageDigitalSignatureManager.cs
- CodeDomConfigurationHandler.cs
- EdmSchemaError.cs
- SystemInfo.cs
- diagnosticsswitches.cs
- XsdDuration.cs
- BadImageFormatException.cs
- TreeViewItemAutomationPeer.cs
- Monitor.cs
- EmbeddedMailObject.cs
- Update.cs
- TypeDelegator.cs
- EventArgs.cs
- BasicCommandTreeVisitor.cs
- TransformerInfoCollection.cs
- SqlProfileProvider.cs
- SqlHelper.cs
- RemoteWebConfigurationHost.cs
- FloaterParagraph.cs
- WebPageTraceListener.cs
- Win32PrintDialog.cs
- JsonSerializer.cs
- infer.cs
- SharedUtils.cs
- DeploymentSectionCache.cs
- SqlDataAdapter.cs
- SolidColorBrush.cs
- FigureParagraph.cs
- RoleExceptions.cs
- PagesChangedEventArgs.cs
- DataGridViewComboBoxColumnDesigner.cs
- StrongTypingException.cs
- X509IssuerSerialKeyIdentifierClause.cs
- TcpChannelHelper.cs
- DbDataSourceEnumerator.cs
- RequestCachePolicy.cs
- ParsedRoute.cs
- PasswordDeriveBytes.cs
- CompositeActivityValidator.cs
- EventBuilder.cs
- ProcessModelSection.cs
- APCustomTypeDescriptor.cs
- CodeDirectoryCompiler.cs
- ControlBuilderAttribute.cs
- BindingContext.cs
- PixelFormat.cs
- HtmlEmptyTagControlBuilder.cs
- EdmTypeAttribute.cs
- StreamReader.cs
- VirtualizingPanel.cs
- _NetRes.cs
- oledbmetadatacolumnnames.cs
- ProviderCollection.cs
- ProxyElement.cs
- StylusLogic.cs
- WebPartsSection.cs
- StructuredTypeEmitter.cs