Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DialogBaseForm.cs
- StreamAsIStream.cs
- ToolStripLocationCancelEventArgs.cs
- XPathPatternParser.cs
- StreamInfo.cs
- WindowsMenu.cs
- DbConnectionPoolIdentity.cs
- AddressUtility.cs
- GuidTagList.cs
- DeleteBookmarkScope.cs
- QualifiedCellIdBoolean.cs
- ChangeDirector.cs
- Int32CAMarshaler.cs
- TemplateBindingExpression.cs
- SafeFindHandle.cs
- MetadataItem.cs
- DataGridViewMethods.cs
- ShimAsPublicXamlType.cs
- XPathAxisIterator.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- CustomAttribute.cs
- PropertyEmitter.cs
- BuildProvidersCompiler.cs
- ModelVisual3D.cs
- GlyphingCache.cs
- ContentDisposition.cs
- DetailsViewPageEventArgs.cs
- cryptoapiTransform.cs
- DataGridCommandEventArgs.cs
- Enlistment.cs
- ProxyGenerator.cs
- TextElement.cs
- CellIdBoolean.cs
- PackWebRequestFactory.cs
- ImpersonationContext.cs
- EdmComplexTypeAttribute.cs
- MulticastDelegate.cs
- CodeThrowExceptionStatement.cs
- CroppedBitmap.cs
- Filter.cs
- CodeBinaryOperatorExpression.cs
- WebPartPersonalization.cs
- ListViewItemSelectionChangedEvent.cs
- SafeRightsManagementHandle.cs
- ShapingEngine.cs
- ExceptionUtil.cs
- InvocationExpression.cs
- ArgIterator.cs
- SamlDoNotCacheCondition.cs
- _HeaderInfoTable.cs
- DragEvent.cs
- BaseCodeDomTreeGenerator.cs
- AsymmetricAlgorithm.cs
- TailPinnedEventArgs.cs
- RelationalExpressions.cs
- CodeVariableDeclarationStatement.cs
- BitmapEffect.cs
- PasswordTextContainer.cs
- SchemaMapping.cs
- DesignTimeTemplateParser.cs
- HandleRef.cs
- ReadWriteSpinLock.cs
- Comparer.cs
- ComAdminInterfaces.cs
- InvalidOleVariantTypeException.cs
- NullableDecimalMinMaxAggregationOperator.cs
- LogPolicy.cs
- SystemException.cs
- BinaryObjectInfo.cs
- HandleInitializationContext.cs
- Int64Converter.cs
- VolatileResourceManager.cs
- TreeNodeClickEventArgs.cs
- ReflectionUtil.cs
- MimeBasePart.cs
- PrimitiveCodeDomSerializer.cs
- SoapClientProtocol.cs
- Model3DGroup.cs
- KeyBinding.cs
- InheritanceAttribute.cs
- HttpAsyncResult.cs
- HtmlInputReset.cs
- QuaternionAnimationUsingKeyFrames.cs
- WSSecureConversationDec2005.cs
- Vector.cs
- TransactionManager.cs
- SchemaSetCompiler.cs
- EpmContentSerializerBase.cs
- CustomAttributeBuilder.cs
- WebPartDisplayModeEventArgs.cs
- HttpProcessUtility.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- DocumentsTrace.cs
- AnnotationDocumentPaginator.cs
- BulletDecorator.cs
- SimpleRecyclingCache.cs
- PrinterUnitConvert.cs
- Stackframe.cs
- Set.cs
- DataObject.cs