Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- UnsafeNativeMethods.cs
- TextDecorationCollectionConverter.cs
- VerificationAttribute.cs
- NativeMethods.cs
- PkcsMisc.cs
- SafeNativeHandle.cs
- MessageDecoder.cs
- GAC.cs
- Crc32.cs
- BamlRecordHelper.cs
- PathGeometry.cs
- FloatSumAggregationOperator.cs
- MonthCalendar.cs
- EventLog.cs
- AnimationTimeline.cs
- ContentValidator.cs
- TimeSpanStorage.cs
- ComPlusInstanceContextInitializer.cs
- CodeDOMUtility.cs
- ImageFormatConverter.cs
- DataGrid.cs
- RepeaterCommandEventArgs.cs
- ToolStripComboBox.cs
- PixelFormatConverter.cs
- CodeNamespace.cs
- WSFederationHttpSecurity.cs
- BasicKeyConstraint.cs
- StaticContext.cs
- PageThemeBuildProvider.cs
- webproxy.cs
- EncodingInfo.cs
- DataListCommandEventArgs.cs
- BrowserTree.cs
- TdsRecordBufferSetter.cs
- RunInstallerAttribute.cs
- WebPartEventArgs.cs
- RegexGroupCollection.cs
- XmlNamespaceMappingCollection.cs
- SqlExpressionNullability.cs
- BrowserCapabilitiesCompiler.cs
- AncillaryOps.cs
- AndMessageFilterTable.cs
- WebBrowserEvent.cs
- RTLAwareMessageBox.cs
- Style.cs
- CounterSampleCalculator.cs
- FocusTracker.cs
- DataBindingList.cs
- DataGridTablesFactory.cs
- LineServices.cs
- FixedStringLookup.cs
- AnimationException.cs
- WizardPanel.cs
- PropertyStore.cs
- EmptyEnumerable.cs
- XmlSchemaCollection.cs
- MsdtcClusterUtils.cs
- QueryAccessibilityHelpEvent.cs
- ProfileGroupSettingsCollection.cs
- PresentationAppDomainManager.cs
- ToolStripComboBox.cs
- EditorResources.cs
- OdbcConnectionFactory.cs
- DEREncoding.cs
- HtmlProps.cs
- SystemTcpStatistics.cs
- OrderedDictionary.cs
- EntityDataSourceState.cs
- SoapElementAttribute.cs
- ReadContentAsBinaryHelper.cs
- ContextMenu.cs
- Filter.cs
- XmlSchemaComplexContent.cs
- SdlChannelSink.cs
- ADMembershipProvider.cs
- ComboBoxRenderer.cs
- LayoutEvent.cs
- OdbcConnection.cs
- SymbolUsageManager.cs
- QilInvoke.cs
- QueryResult.cs
- DataColumnChangeEvent.cs
- SettingsPropertyWrongTypeException.cs
- FilterableAttribute.cs
- GroupBox.cs
- PrivilegedConfigurationManager.cs
- ImageSource.cs
- EpmCustomContentWriterNodeData.cs
- AtomicFile.cs
- columnmapkeybuilder.cs
- _emptywebproxy.cs
- ParsedAttributeCollection.cs
- AsyncOperationManager.cs
- CompareValidator.cs
- XsltLibrary.cs
- InternalCache.cs
- StreamHelper.cs
- EventDescriptor.cs
- ProcessModule.cs
- JournalNavigationScope.cs