Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ISFClipboardData.cs
- SpoolingTaskBase.cs
- FixedBufferAttribute.cs
- DesignBindingEditor.cs
- AuthenticationManager.cs
- MessagePropertyFilter.cs
- EmptyImpersonationContext.cs
- ContextInformation.cs
- MimeFormatExtensions.cs
- followingquery.cs
- SourceChangedEventArgs.cs
- DataKeyCollection.cs
- DataFormats.cs
- HtmlHead.cs
- SmtpClient.cs
- EventMap.cs
- ByteStorage.cs
- EventsTab.cs
- VectorAnimationBase.cs
- FontSourceCollection.cs
- RsaSecurityToken.cs
- UserInitiatedNavigationPermission.cs
- TemplateKeyConverter.cs
- ContextQuery.cs
- FileSecurity.cs
- NativeMethodsCLR.cs
- BaseTemplateParser.cs
- DelegateSerializationHolder.cs
- ServicePoint.cs
- LinqDataSourceUpdateEventArgs.cs
- TypeDelegator.cs
- DataGridViewRowHeaderCell.cs
- Queue.cs
- WebContext.cs
- StreamUpgradeInitiator.cs
- DesignUtil.cs
- ComAwareEventInfo.cs
- RuntimeHelpers.cs
- OleDbMetaDataFactory.cs
- DataSourceControlBuilder.cs
- _ProxyChain.cs
- GPRECT.cs
- XmlTextReaderImplHelpers.cs
- ListComponentEditor.cs
- Operand.cs
- DataGridViewCheckBoxCell.cs
- OrderedEnumerableRowCollection.cs
- ExpanderAutomationPeer.cs
- MessageBox.cs
- MouseGestureConverter.cs
- IsolatedStorageFile.cs
- AllMembershipCondition.cs
- OperationResponse.cs
- TypeUtils.cs
- SqlCachedBuffer.cs
- HtmlElement.cs
- ServiceObjectContainer.cs
- DoubleKeyFrameCollection.cs
- InplaceBitmapMetadataWriter.cs
- FrameworkReadOnlyPropertyMetadata.cs
- HttpContextServiceHost.cs
- FileNotFoundException.cs
- DesignerActionPanel.cs
- TableLayoutStyleCollection.cs
- UTF32Encoding.cs
- DecoderBestFitFallback.cs
- ContextMenuStripGroup.cs
- BindStream.cs
- ProgressBar.cs
- Margins.cs
- SHA384Cng.cs
- CodeSubDirectory.cs
- InputChannelAcceptor.cs
- ListViewGroup.cs
- PolyBezierSegment.cs
- CellPartitioner.cs
- MobileErrorInfo.cs
- __ConsoleStream.cs
- RoutedEvent.cs
- RequiredAttributeAttribute.cs
- Ipv6Element.cs
- FamilyCollection.cs
- CharacterBufferReference.cs
- FormatterServices.cs
- ProtocolElementCollection.cs
- HitTestWithGeometryDrawingContextWalker.cs
- ImageField.cs
- EncoderNLS.cs
- FormatSettings.cs
- RestHandler.cs
- XmlDictionaryReaderQuotas.cs
- TextTreeNode.cs
- ClientSponsor.cs
- CollectionTypeElement.cs
- StringStorage.cs
- _SpnDictionary.cs
- DrawingGroup.cs
- VectorValueSerializer.cs
- ProcessModule.cs
- IChannel.cs