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
- PermissionAttributes.cs
- mediaeventshelper.cs
- HtmlSelect.cs
- EntityStoreSchemaGenerator.cs
- ScriptingRoleServiceSection.cs
- ThreadExceptionDialog.cs
- XamlFilter.cs
- ExtensibleSyndicationObject.cs
- Helper.cs
- BindingListCollectionView.cs
- VirtualPathUtility.cs
- ISO2022Encoding.cs
- SerializationHelper.cs
- Parser.cs
- CollectionChangedEventManager.cs
- DrawingContextDrawingContextWalker.cs
- DataGridViewLayoutData.cs
- SplayTreeNode.cs
- hresults.cs
- SimpleRecyclingCache.cs
- ConnectionProviderAttribute.cs
- AutomationProperties.cs
- NameValueSectionHandler.cs
- MissingMemberException.cs
- SynchronizedRandom.cs
- TypeUtils.cs
- MessageBox.cs
- DataGridViewSelectedRowCollection.cs
- InternalBufferOverflowException.cs
- HtmlShim.cs
- ColorTransformHelper.cs
- PropertyChangeTracker.cs
- CachingParameterInspector.cs
- SettingsContext.cs
- RowTypePropertyElement.cs
- ChildrenQuery.cs
- TypeConverterValueSerializer.cs
- MaterialGroup.cs
- Font.cs
- OracleInfoMessageEventArgs.cs
- TextStore.cs
- AQNBuilder.cs
- ISFClipboardData.cs
- DbConnectionPoolGroupProviderInfo.cs
- XmlChildEnumerator.cs
- SQLDouble.cs
- CheckBox.cs
- VectorValueSerializer.cs
- XamlStream.cs
- ValidationException.cs
- TraceUtility.cs
- ToolStripContentPanelRenderEventArgs.cs
- SimpleType.cs
- SHA384.cs
- RichTextBoxAutomationPeer.cs
- StateDesigner.TransitionInfo.cs
- MemberInfoSerializationHolder.cs
- Header.cs
- PEFileReader.cs
- ResourcesBuildProvider.cs
- DataGridViewCellParsingEventArgs.cs
- TextOutput.cs
- DbReferenceCollection.cs
- FrameDimension.cs
- TitleStyle.cs
- HttpListenerElement.cs
- NamespaceCollection.cs
- CompositeFontInfo.cs
- DataViewManager.cs
- COM2FontConverter.cs
- StreamInfo.cs
- DataControlFieldHeaderCell.cs
- GroupBox.cs
- PlatformNotSupportedException.cs
- GuidTagList.cs
- DocumentViewer.cs
- path.cs
- SchemaMapping.cs
- DesignRelationCollection.cs
- ReadOnlyObservableCollection.cs
- ISSmlParser.cs
- StringUtil.cs
- wgx_exports.cs
- WindowsComboBox.cs
- FixedSOMPageElement.cs
- ObjectStateManager.cs
- Solver.cs
- XmlArrayItemAttributes.cs
- CodeConstructor.cs
- ComAdminWrapper.cs
- WindowsListViewScroll.cs
- WindowsSpinner.cs
- SmtpClient.cs
- ConfigurationLockCollection.cs
- ListControlStringCollectionEditor.cs
- DataContractSerializerSection.cs
- ADConnectionHelper.cs
- FormClosedEvent.cs
- URL.cs
- SafePEFileHandle.cs