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
- WindowsUpDown.cs
- WizardStepBase.cs
- SvcFileManager.cs
- ActivityContext.cs
- DataPagerCommandEventArgs.cs
- AffineTransform3D.cs
- ToolbarAUtomationPeer.cs
- ChildrenQuery.cs
- UIElement.cs
- GridViewSelectEventArgs.cs
- Socket.cs
- EncodingInfo.cs
- XamlPathDataSerializer.cs
- SafeEventLogReadHandle.cs
- XmlChildEnumerator.cs
- FontDriver.cs
- DefaultDiscoveryServiceExtension.cs
- BuildManagerHost.cs
- BaseTemplateBuildProvider.cs
- CqlIdentifiers.cs
- localization.cs
- GeometryModel3D.cs
- CodeDelegateCreateExpression.cs
- XPathSingletonIterator.cs
- ScalarConstant.cs
- TwoPhaseCommitProxy.cs
- OleAutBinder.cs
- SHA512Managed.cs
- COAUTHINFO.cs
- ExpressionConverter.cs
- Delegate.cs
- XPathException.cs
- RuntimeConfig.cs
- ParseHttpDate.cs
- NativeMethods.cs
- DiscoveryServiceExtension.cs
- HttpHandlerActionCollection.cs
- TextEditorMouse.cs
- TextureBrush.cs
- SafeArrayRankMismatchException.cs
- Screen.cs
- QueryPageSettingsEventArgs.cs
- Int64KeyFrameCollection.cs
- NameValuePermission.cs
- MetadataCollection.cs
- SessionEndedEventArgs.cs
- DateTime.cs
- DataGridViewCellLinkedList.cs
- MediaElement.cs
- EditCommandColumn.cs
- ProjectionCamera.cs
- ExtendedPropertyDescriptor.cs
- ExpandSegmentCollection.cs
- TaiwanLunisolarCalendar.cs
- SqlParameterizer.cs
- _RequestCacheProtocol.cs
- CodeBinaryOperatorExpression.cs
- WorkflowPrinting.cs
- NoClickablePointException.cs
- ContextQuery.cs
- SHA512.cs
- ICspAsymmetricAlgorithm.cs
- _DomainName.cs
- ReflectEventDescriptor.cs
- OdbcCommand.cs
- BinaryFormatterWriter.cs
- PrintEvent.cs
- ArgumentDesigner.xaml.cs
- SystemIcmpV6Statistics.cs
- TextWriter.cs
- MetadataExchangeClient.cs
- ServiceBehaviorElementCollection.cs
- SafeNativeMethods.cs
- DataKey.cs
- ResourcesChangeInfo.cs
- SqlTypeConverter.cs
- XmlSchemaInfo.cs
- SerializationInfo.cs
- TransformDescriptor.cs
- PartialTrustVisibleAssemblyCollection.cs
- COM2EnumConverter.cs
- ErrorEventArgs.cs
- AssemblyHash.cs
- TimelineGroup.cs
- CompilerErrorCollection.cs
- FlowDocumentReader.cs
- ComponentDispatcherThread.cs
- NetworkStream.cs
- ImageMap.cs
- querybuilder.cs
- ListViewContainer.cs
- dsa.cs
- GroupByQueryOperator.cs
- WorkflowServiceBehavior.cs
- SoapServerMessage.cs
- DataServiceKeyAttribute.cs
- TreeIterator.cs
- TimerElapsedEvenArgs.cs
- WinFormsSpinner.cs
- MiniCustomAttributeInfo.cs