Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / NotImplementedException.cs / 1305376 / NotImplementedException.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*==============================================================================
**
** Class: NotImplementedException
**
**
** Purpose: Exception thrown when a requested method or operation is not
** implemented.
**
**
=============================================================================*/
namespace System {
using System;
using System.Runtime.Serialization;
[System.Runtime.InteropServices.ComVisible(true)]
[Serializable]
public class NotImplementedException : SystemException
{
public NotImplementedException()
: base(Environment.GetResourceString("Arg_NotImplementedException")) {
SetErrorCode(__HResults.E_NOTIMPL);
}
public NotImplementedException(String message)
: base(message) {
SetErrorCode(__HResults.E_NOTIMPL);
}
public NotImplementedException(String message, Exception inner)
: base(message, inner) {
SetErrorCode(__HResults.E_NOTIMPL);
}
[System.Security.SecuritySafeCritical] // auto-generated
protected NotImplementedException(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: NotImplementedException
**
**
** Purpose: Exception thrown when a requested method or operation is not
** implemented.
**
**
=============================================================================*/
namespace System {
using System;
using System.Runtime.Serialization;
[System.Runtime.InteropServices.ComVisible(true)]
[Serializable]
public class NotImplementedException : SystemException
{
public NotImplementedException()
: base(Environment.GetResourceString("Arg_NotImplementedException")) {
SetErrorCode(__HResults.E_NOTIMPL);
}
public NotImplementedException(String message)
: base(message) {
SetErrorCode(__HResults.E_NOTIMPL);
}
public NotImplementedException(String message, Exception inner)
: base(message, inner) {
SetErrorCode(__HResults.E_NOTIMPL);
}
[System.Security.SecuritySafeCritical] // auto-generated
protected NotImplementedException(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
- PageHandlerFactory.cs
- PropertyMap.cs
- DataGridViewCellStateChangedEventArgs.cs
- newinstructionaction.cs
- Rotation3DKeyFrameCollection.cs
- ExtenderProvidedPropertyAttribute.cs
- CompilerCollection.cs
- EntityContainerAssociationSet.cs
- Window.cs
- DependencyPropertyConverter.cs
- _TLSstream.cs
- BulletDecorator.cs
- ContextMenuAutomationPeer.cs
- FontNamesConverter.cs
- MatrixTransform.cs
- DropTarget.cs
- StorageEntityContainerMapping.cs
- Base64Decoder.cs
- ClientType.cs
- ResourceProperty.cs
- FigureParagraph.cs
- AxParameterData.cs
- Rethrow.cs
- ReachSerializerAsync.cs
- Calendar.cs
- DataListItemEventArgs.cs
- NamedPipeAppDomainProtocolHandler.cs
- InstanceHandle.cs
- FlowDocument.cs
- CommandBinding.cs
- XmlSiteMapProvider.cs
- ChannelOptions.cs
- CompilerTypeWithParams.cs
- PropertyRecord.cs
- EntityProxyTypeInfo.cs
- GeneralTransform.cs
- StructuralComparisons.cs
- BamlStream.cs
- PrintDocument.cs
- XAMLParseException.cs
- CultureInfoConverter.cs
- DynamicObject.cs
- Propagator.cs
- WindowsPen.cs
- StoragePropertyMapping.cs
- sqlmetadatafactory.cs
- EntitySetDataBindingList.cs
- FindCompletedEventArgs.cs
- SerializerDescriptor.cs
- SecurityRuntime.cs
- RadioButtonDesigner.cs
- CustomErrorsSection.cs
- IntSecurity.cs
- TextEditorCopyPaste.cs
- NotifyInputEventArgs.cs
- CodeDefaultValueExpression.cs
- ChtmlSelectionListAdapter.cs
- SingleObjectCollection.cs
- RSAPKCS1SignatureFormatter.cs
- xml.cs
- SizeKeyFrameCollection.cs
- SqlServer2KCompatibilityAnnotation.cs
- BasicExpressionVisitor.cs
- UrlRoutingModule.cs
- PointAnimationUsingPath.cs
- StringDictionary.cs
- SessionStateSection.cs
- EmbeddedMailObjectsCollection.cs
- MediaCommands.cs
- ImmutableCollection.cs
- SatelliteContractVersionAttribute.cs
- XmlDataSource.cs
- FloaterBaseParagraph.cs
- HashHelpers.cs
- DataPagerField.cs
- XmlBinaryReader.cs
- ReadOnlyPropertyMetadata.cs
- PkcsUtils.cs
- HashCryptoHandle.cs
- EditorAttribute.cs
- FormViewUpdatedEventArgs.cs
- Control.cs
- MarshalByRefObject.cs
- ToolStripLocationCancelEventArgs.cs
- DebuggerAttributes.cs
- HotCommands.cs
- ValidatorCollection.cs
- DocumentScope.cs
- ListItemCollection.cs
- assertwrapper.cs
- BaseValidator.cs
- UseAttributeSetsAction.cs
- RuntimeHelpers.cs
- FederatedMessageSecurityOverHttpElement.cs
- DoubleCollectionValueSerializer.cs
- PagesSection.cs
- DefaultBinder.cs
- PixelShader.cs
- DesignerUtils.cs
- CodeExpressionStatement.cs