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
- IpcClientManager.cs
- BindingMAnagerBase.cs
- BaseCodeDomTreeGenerator.cs
- TimeEnumHelper.cs
- HWStack.cs
- KnownBoxes.cs
- PersistenceException.cs
- MatrixTransform3D.cs
- WmfPlaceableFileHeader.cs
- ClosableStream.cs
- RelationshipType.cs
- WebBrowserContainer.cs
- ColorInterpolationModeValidation.cs
- GC.cs
- FixUpCollection.cs
- oledbconnectionstring.cs
- Script.cs
- Int64AnimationUsingKeyFrames.cs
- UIHelper.cs
- FunctionQuery.cs
- SQLResource.cs
- InvalidComObjectException.cs
- LoginDesignerUtil.cs
- EntityDataSourceEntitySetNameItem.cs
- TitleStyle.cs
- BezierSegment.cs
- InvalidProgramException.cs
- FeedUtils.cs
- TriggerAction.cs
- LocalizedNameDescriptionPair.cs
- ProviderMetadata.cs
- RequestCachingSection.cs
- OlePropertyStructs.cs
- Dictionary.cs
- ObjectAnimationUsingKeyFrames.cs
- BooleanStorage.cs
- LocalizabilityAttribute.cs
- TemplateControl.cs
- CurrentTimeZone.cs
- RootProfilePropertySettingsCollection.cs
- DelegatingConfigHost.cs
- UInt64.cs
- StorageFunctionMapping.cs
- UniqueEventHelper.cs
- WebPartMovingEventArgs.cs
- NamespaceCollection.cs
- URIFormatException.cs
- InitialServerConnectionReader.cs
- SchemaImporter.cs
- NetworkStream.cs
- FormsAuthenticationModule.cs
- WebScriptMetadataMessage.cs
- PopOutPanel.cs
- ConfigXmlElement.cs
- WebResponse.cs
- Accessible.cs
- ResourceDefaultValueAttribute.cs
- QualifiedCellIdBoolean.cs
- WebBrowserEvent.cs
- SessionStateModule.cs
- RectAnimation.cs
- ActivityCodeDomSerializer.cs
- EmptyCollection.cs
- LinkUtilities.cs
- ShutDownListener.cs
- BaseProcessProtocolHandler.cs
- RowSpanVector.cs
- GreenMethods.cs
- DESCryptoServiceProvider.cs
- nulltextnavigator.cs
- Convert.cs
- PathGeometry.cs
- TableRowsCollectionEditor.cs
- XPathAxisIterator.cs
- StringUtil.cs
- EditorPartChrome.cs
- ComponentEditorPage.cs
- FlatButtonAppearance.cs
- GeneralTransform3DTo2D.cs
- PropertyValueChangedEvent.cs
- QuaternionValueSerializer.cs
- FixedFlowMap.cs
- ButtonField.cs
- Rotation3DAnimationUsingKeyFrames.cs
- XPathDocumentNavigator.cs
- AssociationSetMetadata.cs
- RegexCode.cs
- KeySpline.cs
- ClientFormsAuthenticationMembershipProvider.cs
- PerfCounters.cs
- ErrorTableItemStyle.cs
- IApplicationTrustManager.cs
- OrderPreservingPipeliningSpoolingTask.cs
- DataGridViewLinkCell.cs
- ReferentialConstraintRoleElement.cs
- OperationContext.cs
- PixelShader.cs
- DataGridHyperlinkColumn.cs
- EmptyQuery.cs
- ConfigurationSectionCollection.cs