Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- TwoPhaseCommit.cs
- ObjectHandle.cs
- Win32Native.cs
- RouteTable.cs
- Encoding.cs
- PropertyEmitterBase.cs
- BaseCodeDomTreeGenerator.cs
- XsdSchemaFileEditor.cs
- StandardCommands.cs
- ObjectTag.cs
- AnchoredBlock.cs
- XmlWrappingReader.cs
- EventLogPermission.cs
- SerializationSectionGroup.cs
- InstalledFontCollection.cs
- COSERVERINFO.cs
- OLEDB_Util.cs
- ProcessHostMapPath.cs
- ColorDialog.cs
- ReadOnlyAttribute.cs
- TextEditorDragDrop.cs
- NavigatorInput.cs
- CopyAction.cs
- TogglePatternIdentifiers.cs
- COAUTHIDENTITY.cs
- RemoteEndpointMessageProperty.cs
- BaseWebProxyFinder.cs
- UserPersonalizationStateInfo.cs
- UInt16.cs
- ServerValidateEventArgs.cs
- GetPageCompletedEventArgs.cs
- DrawingServices.cs
- Internal.cs
- Graphics.cs
- ProfessionalColorTable.cs
- CodeFieldReferenceExpression.cs
- BoundPropertyEntry.cs
- EmbeddedObject.cs
- WebServiceData.cs
- cookieexception.cs
- PropertyKey.cs
- HashCoreRequest.cs
- DispatcherExceptionFilterEventArgs.cs
- ControlOperationBehavior.cs
- BasicHttpMessageSecurityElement.cs
- InputReferenceExpression.cs
- EpmSyndicationContentDeSerializer.cs
- ComPlusAuthorization.cs
- EntityDataSourceContextCreatingEventArgs.cs
- RuleCache.cs
- GradientStop.cs
- OrderedDictionaryStateHelper.cs
- TableLayoutStyle.cs
- WmlValidatorAdapter.cs
- ToolStripManager.cs
- LinkedResourceCollection.cs
- FixedLineResult.cs
- TextSyndicationContentKindHelper.cs
- XmlWrappingReader.cs
- CharacterBuffer.cs
- MouseEventArgs.cs
- DrawingState.cs
- QueryExpr.cs
- Brush.cs
- CatalogZoneBase.cs
- EmbeddedMailObjectsCollection.cs
- SQLDoubleStorage.cs
- CharEntityEncoderFallback.cs
- BitmapImage.cs
- HitTestWithGeometryDrawingContextWalker.cs
- DbConnectionPoolIdentity.cs
- InfoCardProofToken.cs
- COM2IDispatchConverter.cs
- AttributeQuery.cs
- MD5CryptoServiceProvider.cs
- HwndHostAutomationPeer.cs
- OracleTransaction.cs
- PropertyOverridesTypeEditor.cs
- securitymgrsite.cs
- EpmTargetPathSegment.cs
- XmlAnyAttributeAttribute.cs
- ScalarConstant.cs
- StringUtil.cs
- ValidatorCollection.cs
- WorkflowApplicationIdleEventArgs.cs
- TextWriterEngine.cs
- AppDomainManager.cs
- NodeFunctions.cs
- FormCollection.cs
- JumpPath.cs
- NeutralResourcesLanguageAttribute.cs
- HttpServerVarsCollection.cs
- RangeExpression.cs
- WindowsToolbarItemAsMenuItem.cs
- DBSchemaRow.cs
- InvalidFilterCriteriaException.cs
- FigureParagraph.cs
- MimeImporter.cs
- GenericWebPart.cs
- StylusCaptureWithinProperty.cs