Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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) { } } } // 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
- ETagAttribute.cs
- PathFigure.cs
- MessageBodyDescription.cs
- TextTreeFixupNode.cs
- DiscriminatorMap.cs
- PrimaryKeyTypeConverter.cs
- VideoDrawing.cs
- EventProxy.cs
- MessageSmuggler.cs
- TextProperties.cs
- ModifierKeysConverter.cs
- XmlSchemaObjectCollection.cs
- BodyWriter.cs
- ProfileSection.cs
- AnnotationResourceCollection.cs
- WindowsStatusBar.cs
- CompressStream.cs
- BinaryEditor.cs
- IisTraceListener.cs
- FormViewPagerRow.cs
- _LoggingObject.cs
- CustomPopupPlacement.cs
- Merger.cs
- WsdlHelpGeneratorElement.cs
- TextModifierScope.cs
- SizeAnimation.cs
- LoadRetryConstantStrategy.cs
- TransformerInfo.cs
- SQLDateTimeStorage.cs
- SettingsBindableAttribute.cs
- FrameworkContentElementAutomationPeer.cs
- ColumnResult.cs
- ModelPerspective.cs
- PreloadHost.cs
- Empty.cs
- ObjectResult.cs
- UnsafeNativeMethods.cs
- MenuItem.cs
- BaseCAMarshaler.cs
- ListControl.cs
- ClockController.cs
- AppModelKnownContentFactory.cs
- UMPAttributes.cs
- DecoderBestFitFallback.cs
- SemanticBasicElement.cs
- GenericRootAutomationPeer.cs
- InputScopeConverter.cs
- WebReferenceOptions.cs
- PrimitiveCodeDomSerializer.cs
- DropDownButton.cs
- Bezier.cs
- MetaType.cs
- AVElementHelper.cs
- HtmlMeta.cs
- FormViewPagerRow.cs
- MessageAction.cs
- EntityDataSourceDesigner.cs
- DataGridViewTextBoxColumn.cs
- TextMessageEncoder.cs
- VirtualizedItemProviderWrapper.cs
- VisualStateChangedEventArgs.cs
- ViewGenerator.cs
- ObjectDataSourceFilteringEventArgs.cs
- NavigationCommands.cs
- TransactionException.cs
- DatasetMethodGenerator.cs
- HandleRef.cs
- HttpResponse.cs
- mda.cs
- TimeZone.cs
- UnmanagedBitmapWrapper.cs
- PropertyGridEditorPart.cs
- ProfileProvider.cs
- XmlSchemaAnnotation.cs
- SelectorAutomationPeer.cs
- CustomErrorCollection.cs
- SiteOfOriginContainer.cs
- InternalEnumValidator.cs
- WizardStepBase.cs
- WebResourceUtil.cs
- TextDecorationCollection.cs
- RewritingSimplifier.cs
- DbDataReader.cs
- MediaContext.cs
- _ListenerAsyncResult.cs
- DataTableNameHandler.cs
- _NTAuthentication.cs
- MethodCallTranslator.cs
- Bits.cs
- WSHttpSecurityElement.cs
- ImageButton.cs
- DropShadowBitmapEffect.cs
- UserValidatedEventArgs.cs
- ActivationWorker.cs
- DataServiceHostFactory.cs
- ValidateNames.cs
- TextParagraphProperties.cs
- ProfilePropertySettingsCollection.cs
- RuntimeHandles.cs
- QueryExecutionOption.cs