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
- COM2PropertyDescriptor.cs
- EmptyImpersonationContext.cs
- CollectionConverter.cs
- OAVariantLib.cs
- AssemblyNameProxy.cs
- SecurityUtils.cs
- EFAssociationProvider.cs
- CompletionBookmark.cs
- sqlstateclientmanager.cs
- SpinLock.cs
- MetadataProperty.cs
- _UriTypeConverter.cs
- ObjectItemConventionAssemblyLoader.cs
- DifferencingCollection.cs
- EqualityArray.cs
- PersonalizationStateQuery.cs
- autovalidator.cs
- CursorEditor.cs
- DynamicQueryableWrapper.cs
- HttpFileCollection.cs
- Renderer.cs
- Error.cs
- D3DImage.cs
- WsiProfilesElement.cs
- XmlSchemaComplexType.cs
- ZoneMembershipCondition.cs
- IconConverter.cs
- SecurityKeyType.cs
- SiteMapPath.cs
- UICuesEvent.cs
- Button.cs
- HwndStylusInputProvider.cs
- AppSettingsExpressionEditor.cs
- SessionIDManager.cs
- ObjectAnimationBase.cs
- XmlChoiceIdentifierAttribute.cs
- Rotation3D.cs
- WebPartChrome.cs
- WebDisplayNameAttribute.cs
- ClaimTypes.cs
- FlatButtonAppearance.cs
- XmlEncodedRawTextWriter.cs
- HostVisual.cs
- TimeStampChecker.cs
- ChangeTracker.cs
- BitmapPalettes.cs
- LinkTarget.cs
- AlternateViewCollection.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- Debug.cs
- RemoteCryptoTokenProvider.cs
- DataGridViewHitTestInfo.cs
- unsafeIndexingFilterStream.cs
- _IPv6Address.cs
- RenderingEventArgs.cs
- GridViewEditEventArgs.cs
- Int32CollectionValueSerializer.cs
- DrawingAttributes.cs
- EpmContentSerializer.cs
- ProcessRequestArgs.cs
- ErrorView.xaml.cs
- EntityViewGenerationConstants.cs
- SpeechSeg.cs
- XsltInput.cs
- HttpCapabilitiesEvaluator.cs
- OdbcError.cs
- FlowDocumentView.cs
- ProcessModuleDesigner.cs
- M3DUtil.cs
- OleDbCommandBuilder.cs
- SponsorHelper.cs
- ObjectAnimationBase.cs
- XmlEncApr2001.cs
- CreatingCookieEventArgs.cs
- WinFormsComponentEditor.cs
- EmptyReadOnlyDictionaryInternal.cs
- AutomationProperties.cs
- DescriptionAttribute.cs
- FormsAuthentication.cs
- DecimalKeyFrameCollection.cs
- StrongNameMembershipCondition.cs
- UserUseLicenseDictionaryLoader.cs
- GlobalizationSection.cs
- DataRecord.cs
- ContextMenu.cs
- UrlMappingCollection.cs
- RestrictedTransactionalPackage.cs
- StringFreezingAttribute.cs
- ChangeNode.cs
- DataControlFieldCell.cs
- FilterException.cs
- SchemaTypeEmitter.cs
- ExpressionConverter.cs
- DateTimeParse.cs
- CounterCreationData.cs
- WebPartRestoreVerb.cs
- StsCommunicationException.cs
- HashHelper.cs
- WebPartManagerInternals.cs
- CharConverter.cs