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
- SimpleHandlerBuildProvider.cs
- PolicyValidator.cs
- TextRunTypographyProperties.cs
- TextTreeDeleteContentUndoUnit.cs
- ViewBase.cs
- SchemaAttDef.cs
- HttpRuntimeSection.cs
- Error.cs
- PreservationFileWriter.cs
- ListViewDeletedEventArgs.cs
- ClientRuntimeConfig.cs
- FileReservationCollection.cs
- ConfigurationSchemaErrors.cs
- TextClipboardData.cs
- DataListItem.cs
- UriTemplateQueryValue.cs
- TextWriter.cs
- _TLSstream.cs
- RepeaterItemCollection.cs
- CapabilitiesRule.cs
- ScrollData.cs
- _UncName.cs
- LinearQuaternionKeyFrame.cs
- PreApplicationStartMethodAttribute.cs
- SiteMapSection.cs
- Logging.cs
- DataColumn.cs
- XmlUtil.cs
- StreamWithDictionary.cs
- ItemMap.cs
- EventLogSession.cs
- HyperLinkField.cs
- OleStrCAMarshaler.cs
- AdvancedBindingEditor.cs
- ArrangedElementCollection.cs
- PersonalizableTypeEntry.cs
- GridViewCellAutomationPeer.cs
- DataDesignUtil.cs
- ImageListUtils.cs
- ProcessModule.cs
- SmtpReplyReader.cs
- EntityStoreSchemaGenerator.cs
- StrokeCollection.cs
- EnumValAlphaComparer.cs
- CodePageUtils.cs
- CheckBoxAutomationPeer.cs
- TableStyle.cs
- ServiceModelActivity.cs
- String.cs
- ControlEvent.cs
- ButtonChrome.cs
- AssociationSetEnd.cs
- WebPartUtil.cs
- BaseParser.cs
- ContainerControl.cs
- OracleBFile.cs
- DrawingContextWalker.cs
- WSSecureConversationDec2005.cs
- KeyValueSerializer.cs
- DbParameterCollection.cs
- LinqDataSourceContextData.cs
- ExpandSegment.cs
- AssemblyName.cs
- DataGridViewColumnHeaderCell.cs
- GroupBoxRenderer.cs
- Roles.cs
- ExtendedPropertiesHandler.cs
- View.cs
- MeshGeometry3D.cs
- SiteMapPath.cs
- Debug.cs
- NameScopePropertyAttribute.cs
- ManagementDateTime.cs
- EnvironmentPermission.cs
- ActionMessageFilter.cs
- AuthenticationSection.cs
- AttachInfo.cs
- StringInfo.cs
- ConnectionStringSettings.cs
- Console.cs
- ChannelBinding.cs
- SHA384Managed.cs
- CalendarItem.cs
- ActivityCodeDomSerializationManager.cs
- ChangePassword.cs
- RecognizerInfo.cs
- Int32Rect.cs
- validationstate.cs
- _WinHttpWebProxyDataBuilder.cs
- AccessibleObject.cs
- StringFunctions.cs
- SqlNamer.cs
- ContractComponent.cs
- SqlCacheDependencyDatabaseCollection.cs
- CachedBitmap.cs
- WebConfigurationHost.cs
- BuildProviderCollection.cs
- Error.cs
- Point3DAnimationUsingKeyFrames.cs
- BinaryUtilClasses.cs