Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- QilLiteral.cs
- UserControl.cs
- SymbolEqualComparer.cs
- AdRotator.cs
- CurrentTimeZone.cs
- newinstructionaction.cs
- FrugalMap.cs
- MembershipPasswordException.cs
- ObjectParameterCollection.cs
- Quaternion.cs
- WebPartManager.cs
- SecurityContext.cs
- FixedSOMPageElement.cs
- ButtonChrome.cs
- RadioButtonDesigner.cs
- TimeoutException.cs
- ReferencedAssembly.cs
- UnconditionalPolicy.cs
- Container.cs
- DesignerDataStoredProcedure.cs
- TemplateBamlTreeBuilder.cs
- PolyBezierSegment.cs
- ChangeBlockUndoRecord.cs
- XmlNavigatorStack.cs
- AmbientProperties.cs
- PublisherIdentityPermission.cs
- ConstraintCollection.cs
- InstalledFontCollection.cs
- PathSegmentCollection.cs
- HtmlMobileTextWriter.cs
- SqlWriter.cs
- OverrideMode.cs
- ClassValidator.cs
- XhtmlBasicFormAdapter.cs
- CommandLibraryHelper.cs
- GroupBoxRenderer.cs
- MsmqAppDomainProtocolHandler.cs
- RectKeyFrameCollection.cs
- FormatException.cs
- IncrementalHitTester.cs
- DateTimeConverter.cs
- Thread.cs
- Point3DCollectionConverter.cs
- SubMenuStyleCollection.cs
- DbgUtil.cs
- FunctionNode.cs
- NetPeerTcpBinding.cs
- SignatureDescription.cs
- MessageQueuePermissionAttribute.cs
- RTTrackingProfile.cs
- LoginView.cs
- PropertyEntry.cs
- SafeNativeMethods.cs
- WebPartChrome.cs
- CalendarDataBindingHandler.cs
- DataGridRow.cs
- SubstitutionDesigner.cs
- HttpServerUtilityBase.cs
- SecureUICommand.cs
- HttpContext.cs
- XmlAnyElementAttributes.cs
- XmlSecureResolver.cs
- OdbcReferenceCollection.cs
- NullableConverter.cs
- WinEventWrap.cs
- InputBuffer.cs
- errorpatternmatcher.cs
- MetadataArtifactLoaderFile.cs
- BindStream.cs
- _ShellExpression.cs
- PixelFormatConverter.cs
- ImpersonateTokenRef.cs
- Size.cs
- SystemNetHelpers.cs
- AuthenticateEventArgs.cs
- GroupBoxRenderer.cs
- ETagAttribute.cs
- ThicknessKeyFrameCollection.cs
- SvcMapFileSerializer.cs
- WebPartMovingEventArgs.cs
- unsafeIndexingFilterStream.cs
- OracleConnection.cs
- InputScope.cs
- StackBuilderSink.cs
- SectionVisual.cs
- DesignConnection.cs
- WebResourceAttribute.cs
- Rfc2898DeriveBytes.cs
- RayMeshGeometry3DHitTestResult.cs
- EncoderParameter.cs
- ZipIORawDataFileBlock.cs
- HtmlFormWrapper.cs
- ImageCodecInfoPrivate.cs
- ToolStripPanel.cs
- BuildManager.cs
- DllNotFoundException.cs
- XmlCustomFormatter.cs
- UnsafeNativeMethods.cs
- RequestCacheEntry.cs
- documentsequencetextpointer.cs