Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / NotSupportedException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- Config.cs
- XsltConvert.cs
- XPathNodeInfoAtom.cs
- DataGridRelationshipRow.cs
- KeyProperty.cs
- EventLogPermission.cs
- TableLayoutCellPaintEventArgs.cs
- XsltArgumentList.cs
- RelationalExpressions.cs
- PrintPreviewDialog.cs
- CookieParameter.cs
- AssociationSet.cs
- EntityUtil.cs
- NaturalLanguageHyphenator.cs
- SizeAnimation.cs
- DataGridSortCommandEventArgs.cs
- LineGeometry.cs
- TraceHwndHost.cs
- VSWCFServiceContractGenerator.cs
- ListBindingHelper.cs
- SQLInt32.cs
- ListDictionaryInternal.cs
- TypeUtil.cs
- DataTableReader.cs
- InputMethodStateChangeEventArgs.cs
- InputScopeConverter.cs
- ToolStripOverflowButton.cs
- GeneralTransformGroup.cs
- OpenTypeCommon.cs
- CroppedBitmap.cs
- XmlSchemaValidator.cs
- IndexedString.cs
- KeyToListMap.cs
- GenericPrincipal.cs
- SimpleExpression.cs
- dtdvalidator.cs
- SqlErrorCollection.cs
- CultureTable.cs
- _ListenerAsyncResult.cs
- __ComObject.cs
- WasHttpHandlersInstallComponent.cs
- KoreanCalendar.cs
- SafeReversePInvokeHandle.cs
- MatcherBuilder.cs
- TextRunTypographyProperties.cs
- ModuleConfigurationInfo.cs
- CollectionConverter.cs
- EnumUnknown.cs
- PropertyInformationCollection.cs
- MultilineStringEditor.cs
- SignatureHelper.cs
- TreeNodeBindingDepthConverter.cs
- LeaseManager.cs
- Aggregates.cs
- Span.cs
- Adorner.cs
- TerminateSequenceResponse.cs
- AsymmetricSignatureDeformatter.cs
- X509Extension.cs
- FixedSOMFixedBlock.cs
- AnimationStorage.cs
- DataKey.cs
- OracleCommandBuilder.cs
- DbCommandDefinition.cs
- EditCommandColumn.cs
- DetailsViewUpdateEventArgs.cs
- AliasedSlot.cs
- SpotLight.cs
- TextTreeTextElementNode.cs
- TextEditorContextMenu.cs
- Converter.cs
- AsnEncodedData.cs
- GenericEnumConverter.cs
- WebPartVerbsEventArgs.cs
- CodeAccessPermission.cs
- IdentityNotMappedException.cs
- EmptyReadOnlyDictionaryInternal.cs
- ColorConvertedBitmap.cs
- MailBnfHelper.cs
- DataGridViewRowEventArgs.cs
- SnapshotChangeTrackingStrategy.cs
- GatewayDefinition.cs
- ProviderCollection.cs
- Expander.cs
- SerialPort.cs
- SpellerHighlightLayer.cs
- MonthCalendar.cs
- XmlSyndicationContent.cs
- StylusTip.cs
- HuffmanTree.cs
- ConnectionsZone.cs
- securitycriticaldata.cs
- HttpValueCollection.cs
- ReservationCollection.cs
- ConnectionManagementElement.cs
- MessageQuerySet.cs
- ObjectItemAssemblyLoader.cs
- PropertyGeneratedEventArgs.cs
- UrlAuthFailedErrorFormatter.cs
- FullTrustAssembliesSection.cs