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 / NotSupportedException.cs / 1 / NotSupportedException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: NotSupportedException ** ** ** Purpose: For methods that should be implemented on subclasses. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class NotSupportedException : SystemException { public NotSupportedException() : base(Environment.GetResourceString("Arg_NotSupportedException")) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } public NotSupportedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } public NotSupportedException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } protected NotSupportedException(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: NotSupportedException ** ** ** Purpose: For methods that should be implemented on subclasses. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class NotSupportedException : SystemException { public NotSupportedException() : base(Environment.GetResourceString("Arg_NotSupportedException")) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } public NotSupportedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } public NotSupportedException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } protected NotSupportedException(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
- UnsafeNativeMethodsTablet.cs
- SqlReorderer.cs
- CheckBox.cs
- ImageListStreamer.cs
- SQLBoolean.cs
- SingletonChannelAcceptor.cs
- PictureBox.cs
- InkPresenterAutomationPeer.cs
- ListView.cs
- CredentialCache.cs
- DataGridViewRowPostPaintEventArgs.cs
- MoveSizeWinEventHandler.cs
- VisualStyleElement.cs
- MailWebEventProvider.cs
- FindCriteriaApril2005.cs
- AndMessageFilterTable.cs
- RenderContext.cs
- DataBinding.cs
- EntityDesignerBuildProvider.cs
- StringAttributeCollection.cs
- BigInt.cs
- TreeBuilderBamlTranslator.cs
- PageBreakRecord.cs
- SqlDataSourceCustomCommandEditor.cs
- WSFederationHttpBindingElement.cs
- LoadGrammarCompletedEventArgs.cs
- AmbientValueAttribute.cs
- _PooledStream.cs
- FilterableAttribute.cs
- ByteStream.cs
- TcpProcessProtocolHandler.cs
- ColorAnimation.cs
- DataGridViewTopRowAccessibleObject.cs
- PageEventArgs.cs
- InstallerTypeAttribute.cs
- smtpconnection.cs
- DataGridSortCommandEventArgs.cs
- SchemaAttDef.cs
- LambdaCompiler.Lambda.cs
- ActivityTypeDesigner.xaml.cs
- TreeViewImageGenerator.cs
- ValueUtilsSmi.cs
- Int16Storage.cs
- IntAverageAggregationOperator.cs
- Geometry.cs
- SqlDataSourceCache.cs
- SignedPkcs7.cs
- UniformGrid.cs
- CreateUserWizard.cs
- ObjectMaterializedEventArgs.cs
- MenuAutomationPeer.cs
- _LazyAsyncResult.cs
- MouseEventArgs.cs
- CssTextWriter.cs
- ScrollBarRenderer.cs
- InstanceDataCollection.cs
- KeyEvent.cs
- SingleResultAttribute.cs
- ConfigPathUtility.cs
- CodeComment.cs
- Pkcs7Recipient.cs
- SqlBulkCopyColumnMapping.cs
- HideDisabledControlAdapter.cs
- CardSpaceException.cs
- CalendarTable.cs
- NamedPermissionSet.cs
- ListSortDescriptionCollection.cs
- TransformedBitmap.cs
- PrtCap_Base.cs
- CornerRadius.cs
- ItemCollection.cs
- XmlSchemaNotation.cs
- Component.cs
- DataGridViewColumnCollectionEditor.cs
- X509ChainElement.cs
- NetworkInformationException.cs
- RemoteWebConfigurationHostServer.cs
- CreateUserWizardStep.cs
- SecurityElement.cs
- AsyncOperation.cs
- QueueProcessor.cs
- PlatformNotSupportedException.cs
- ConstraintConverter.cs
- Decimal.cs
- ValidationErrorCollection.cs
- ToolBar.cs
- EditorPartCollection.cs
- BaseDataList.cs
- SimpleHandlerFactory.cs
- DetailsViewRow.cs
- ProfileService.cs
- CapabilitiesPattern.cs
- ConsumerConnectionPointCollection.cs
- ToolStripSplitButton.cs
- ControlBuilder.cs
- WindowInteropHelper.cs
- Parallel.cs
- AttributeProviderAttribute.cs
- ListViewDeletedEventArgs.cs
- TypeBrowserDialog.cs