Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / InvalidOperationException.cs / 1 / InvalidOperationException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: InvalidOperationException ** ** ** Purpose: Exception class for denoting an object was in a state that ** made calling a method illegal. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class InvalidOperationException : SystemException { public InvalidOperationException() : base(Environment.GetResourceString("Arg_InvalidOperationException")) { SetErrorCode(__HResults.COR_E_INVALIDOPERATION); } public InvalidOperationException(String message) : base(message) { SetErrorCode(__HResults.COR_E_INVALIDOPERATION); } public InvalidOperationException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_INVALIDOPERATION); } protected InvalidOperationException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ColorAnimationBase.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- ServiceNameCollection.cs
- ScriptReference.cs
- EntityContainerEmitter.cs
- StylusPointDescription.cs
- UpWmlMobileTextWriter.cs
- TreeViewItemAutomationPeer.cs
- ObjectDataSourceStatusEventArgs.cs
- IisTraceWebEventProvider.cs
- LinqDataSourceDeleteEventArgs.cs
- ImageField.cs
- baseaxisquery.cs
- SplitterCancelEvent.cs
- EDesignUtil.cs
- RuntimeResourceSet.cs
- AffineTransform3D.cs
- IgnoreSectionHandler.cs
- SqlAggregateChecker.cs
- IxmlLineInfo.cs
- EntityDataSourceSelectedEventArgs.cs
- WebPartConnectionsConfigureVerb.cs
- MaterialCollection.cs
- WebPartConnectionsCloseVerb.cs
- TypeSystem.cs
- TargetPerspective.cs
- TableRowCollection.cs
- TextBoxBaseDesigner.cs
- Stroke.cs
- ForEachAction.cs
- ResourcePart.cs
- OleDbErrorCollection.cs
- AccessedThroughPropertyAttribute.cs
- safex509handles.cs
- OutputCacheEntry.cs
- InfoCardConstants.cs
- WebPartsPersonalizationAuthorization.cs
- EnumType.cs
- ToolStripDropTargetManager.cs
- TokenBasedSetEnumerator.cs
- CollectionViewProxy.cs
- AstTree.cs
- CatchDesigner.xaml.cs
- DrawListViewColumnHeaderEventArgs.cs
- CheckBoxRenderer.cs
- UriScheme.cs
- MachineKeyConverter.cs
- DependencyPropertyHelper.cs
- WindowsListViewSubItem.cs
- EdmComplexTypeAttribute.cs
- CalloutQueueItem.cs
- Button.cs
- SoapAttributeOverrides.cs
- ViewCellRelation.cs
- CustomWebEventKey.cs
- StatusBarDesigner.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- FixedSOMTableRow.cs
- DirectoryInfo.cs
- DoubleConverter.cs
- XmlRawWriter.cs
- PartialCachingAttribute.cs
- HttpResponseWrapper.cs
- XmlSerializationGeneratedCode.cs
- SpeechAudioFormatInfo.cs
- EtwTrace.cs
- objectquery_tresulttype.cs
- ContextMarshalException.cs
- DataColumn.cs
- ExternalCalls.cs
- XslTransform.cs
- SQlBooleanStorage.cs
- CollectionBuilder.cs
- SecurityKeyIdentifier.cs
- BooleanToVisibilityConverter.cs
- MSAAWinEventWrap.cs
- InplaceBitmapMetadataWriter.cs
- AutoSizeToolBoxItem.cs
- SecurityMode.cs
- DynamicILGenerator.cs
- StyleHelper.cs
- MetafileHeaderWmf.cs
- BackoffTimeoutHelper.cs
- NetNamedPipeBindingElement.cs
- InvalidComObjectException.cs
- SystemParameters.cs
- FileDialogPermission.cs
- UriScheme.cs
- ChooseAction.cs
- DrawItemEvent.cs
- ValidatingReaderNodeData.cs
- ReachDocumentPageSerializerAsync.cs
- XmlSerializationReader.cs
- MatrixTransform3D.cs
- PeerCollaborationPermission.cs
- HandledMouseEvent.cs
- HostingEnvironment.cs
- UIElement3DAutomationPeer.cs
- PriorityQueue.cs
- Operator.cs