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
- RichTextBoxConstants.cs
- ProxyHwnd.cs
- PrintDialogDesigner.cs
- SoapExtensionStream.cs
- PolyBezierSegmentFigureLogic.cs
- InstancePersistenceContext.cs
- Stream.cs
- DesignTimeVisibleAttribute.cs
- FormatSelectingMessageInspector.cs
- Buffer.cs
- HostExecutionContextManager.cs
- ParseElement.cs
- EntityContainer.cs
- RightsManagementSuppressedStream.cs
- CommandHelpers.cs
- TypeUsageBuilder.cs
- ImageSource.cs
- ClrPerspective.cs
- DataErrorValidationRule.cs
- XmlILOptimizerVisitor.cs
- InternalConfigRoot.cs
- FixUpCollection.cs
- Metafile.cs
- Label.cs
- LayoutDump.cs
- ExtendedPropertyDescriptor.cs
- MimeBasePart.cs
- FontFamily.cs
- Enum.cs
- XmlQueryContext.cs
- TrailingSpaceComparer.cs
- FunctionDescription.cs
- _BufferOffsetSize.cs
- HtmlInputHidden.cs
- ActivationProxy.cs
- DataSourceControlBuilder.cs
- InheritanceRules.cs
- DetailsViewModeEventArgs.cs
- Soap.cs
- Oid.cs
- Span.cs
- EpmCustomContentSerializer.cs
- ClientBuildManager.cs
- OleStrCAMarshaler.cs
- CodeAttachEventStatement.cs
- OverloadGroupAttribute.cs
- HtmlInputHidden.cs
- EventProviderWriter.cs
- BitmapMetadata.cs
- UserPreferenceChangingEventArgs.cs
- JournalEntry.cs
- XPathEmptyIterator.cs
- UserControlParser.cs
- RequiredAttributeAttribute.cs
- DateTimeAutomationPeer.cs
- DbConnectionPool.cs
- Pointer.cs
- IdentityValidationException.cs
- AsyncCompletedEventArgs.cs
- SqlWriter.cs
- ExpressionBindingCollection.cs
- HtmlSelect.cs
- DoubleUtil.cs
- BindingMAnagerBase.cs
- CryptoApi.cs
- _LoggingObject.cs
- BaseTemplateParser.cs
- DoubleCollectionConverter.cs
- MouseActionConverter.cs
- EventLogger.cs
- XmlWriterTraceListener.cs
- LinearGradientBrush.cs
- ColumnBinding.cs
- ExitEventArgs.cs
- TimeoutTimer.cs
- XmlSchemaAny.cs
- Console.cs
- PrinterSettings.cs
- CultureSpecificStringDictionary.cs
- DataControlFieldCollection.cs
- EntityDataSourceColumn.cs
- PipelineModuleStepContainer.cs
- QuaternionValueSerializer.cs
- GeometryDrawing.cs
- EventInfo.cs
- Rotation3D.cs
- DataObjectMethodAttribute.cs
- Convert.cs
- HotSpotCollectionEditor.cs
- SafeFileMapViewHandle.cs
- FirstMatchCodeGroup.cs
- HashMembershipCondition.cs
- SafeSecurityHandles.cs
- Translator.cs
- SuppressIldasmAttribute.cs
- RectValueSerializer.cs
- ConstraintStruct.cs
- CompositeActivityTypeDescriptor.cs
- UIAgentAsyncBeginRequest.cs
- WindowsRichEditRange.cs