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
- CodeTypeConstructor.cs
- DataContractSerializerOperationBehavior.cs
- EnumerableValidator.cs
- BitmapSource.cs
- TextRenderer.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- AssociatedControlConverter.cs
- Int32AnimationUsingKeyFrames.cs
- ComponentDispatcherThread.cs
- SerializerProvider.cs
- TextModifierScope.cs
- CategoryNameCollection.cs
- DocumentPage.cs
- IODescriptionAttribute.cs
- LogSwitch.cs
- BufferedWebEventProvider.cs
- _NTAuthentication.cs
- KnownTypesHelper.cs
- PrintDialog.cs
- ExpressionHelper.cs
- EventSinkHelperWriter.cs
- ConstraintCollection.cs
- MetadataResolver.cs
- ErrorFormatter.cs
- TdsRecordBufferSetter.cs
- EllipticalNodeOperations.cs
- nulltextnavigator.cs
- KeyMatchBuilder.cs
- DefaultTextStore.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Accessible.cs
- TypeDescriptionProviderAttribute.cs
- ElementHostPropertyMap.cs
- ConfigXmlElement.cs
- BrowserDefinitionCollection.cs
- XmlProcessingInstruction.cs
- RectAnimationBase.cs
- Claim.cs
- Constraint.cs
- OperationDescriptionCollection.cs
- ParameterInfo.cs
- IssuedTokenServiceElement.cs
- SafeThemeHandle.cs
- ImagingCache.cs
- TypeDescriptorFilterService.cs
- NamedPermissionSet.cs
- VariableQuery.cs
- FixedTextContainer.cs
- LinkConverter.cs
- LeafCellTreeNode.cs
- DataControlImageButton.cs
- Attributes.cs
- recordstate.cs
- FtpWebResponse.cs
- ScriptingProfileServiceSection.cs
- DynamicPropertyReader.cs
- ReadWriteSpinLock.cs
- AutoResizedEvent.cs
- AsyncPostBackErrorEventArgs.cs
- SqlNotificationEventArgs.cs
- DataGridViewCellLinkedList.cs
- EmptyStringExpandableObjectConverter.cs
- ListView.cs
- TableParagraph.cs
- TypeBuilderInstantiation.cs
- RegisteredArrayDeclaration.cs
- EntityDataSourceView.cs
- ClientRoleProvider.cs
- EncoderReplacementFallback.cs
- JoinTreeSlot.cs
- DrawingContextWalker.cs
- HTMLTextWriter.cs
- ConversionContext.cs
- WindowsGraphics2.cs
- TranslateTransform3D.cs
- ITextView.cs
- ExceptionHelpers.cs
- AnnotationStore.cs
- ProfileSection.cs
- ControlTemplate.cs
- SafeNativeMethodsMilCoreApi.cs
- WebScriptServiceHostFactory.cs
- TcpHostedTransportConfiguration.cs
- Parsers.cs
- RadialGradientBrush.cs
- Link.cs
- ListViewItemEventArgs.cs
- ResourceDisplayNameAttribute.cs
- SqlConnectionHelper.cs
- MimeTypeAttribute.cs
- NamespaceList.cs
- HotCommands.cs
- HttpDebugHandler.cs
- DbUpdateCommandTree.cs
- PseudoWebRequest.cs
- base64Transforms.cs
- ByteAnimationUsingKeyFrames.cs
- AdRotator.cs
- Cursor.cs
- WeakReadOnlyCollection.cs