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
- ZipIOCentralDirectoryDigitalSignature.cs
- ToolboxItemCollection.cs
- TemplateControlCodeDomTreeGenerator.cs
- ZipIOCentralDirectoryFileHeader.cs
- Invariant.cs
- ValueConversionAttribute.cs
- ControlValuePropertyAttribute.cs
- NameObjectCollectionBase.cs
- EntityContainerEmitter.cs
- Query.cs
- PermissionRequestEvidence.cs
- RegexCaptureCollection.cs
- DataGridToolTip.cs
- Path.cs
- FormatConvertedBitmap.cs
- COM2PropertyPageUITypeConverter.cs
- WorkerRequest.cs
- ReflectionTypeLoadException.cs
- ChannelDemuxer.cs
- QuaternionValueSerializer.cs
- CustomAttributeFormatException.cs
- PropertyGeneratedEventArgs.cs
- SmtpNtlmAuthenticationModule.cs
- BufferedGraphicsContext.cs
- AuthenticodeSignatureInformation.cs
- GridPattern.cs
- ControlTemplate.cs
- LocalizedNameDescriptionPair.cs
- TreeNode.cs
- Parser.cs
- HMAC.cs
- RepeaterCommandEventArgs.cs
- TextBlock.cs
- TextWriterEngine.cs
- ProcessRequestAsyncResult.cs
- DefaultAsyncDataDispatcher.cs
- EntitySetBase.cs
- Size3DValueSerializer.cs
- HuffmanTree.cs
- ContainerVisual.cs
- StylusTip.cs
- SafeEventLogReadHandle.cs
- EntityTypeBase.cs
- CacheDependency.cs
- BinaryUtilClasses.cs
- TableLayoutRowStyleCollection.cs
- HttpListenerRequest.cs
- PointF.cs
- TextStore.cs
- PrtCap_Public.cs
- DbFunctionCommandTree.cs
- BoolExpressionVisitors.cs
- MostlySingletonList.cs
- XmlSecureResolver.cs
- PtsCache.cs
- ServerIdentity.cs
- AdapterUtil.cs
- RtfToXamlLexer.cs
- CommonXSendMessage.cs
- ApplicationSecurityInfo.cs
- DPTypeDescriptorContext.cs
- ToolboxCategory.cs
- SwitchElementsCollection.cs
- DataGridViewCellParsingEventArgs.cs
- SigningCredentials.cs
- ArrayHelper.cs
- ApplyHostConfigurationBehavior.cs
- ButtonChrome.cs
- BreakRecordTable.cs
- GeneralTransform3DTo2D.cs
- AvTraceDetails.cs
- FileDialogCustomPlace.cs
- PrintEvent.cs
- Point3D.cs
- LinqDataSourceStatusEventArgs.cs
- BindingOperations.cs
- StandardTransformFactory.cs
- SafeNativeMethods.cs
- BamlBinaryReader.cs
- PropertyKey.cs
- DynamicDataExtensions.cs
- StringUtil.cs
- EntityKey.cs
- RtfControls.cs
- EntityDataSourceReferenceGroup.cs
- ArrayWithOffset.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- CodeIdentifier.cs
- UrlUtility.cs
- PrintDialog.cs
- SectionUpdates.cs
- SoapSchemaImporter.cs
- validationstate.cs
- EventDriven.cs
- ClientType.cs
- SafeThreadHandle.cs
- Tokenizer.cs
- FieldAccessException.cs
- Variant.cs
- Item.cs