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 / NullReferenceException.cs / 1 / NullReferenceException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: NullReferenceException ** ** ** Purpose: Exception class for dereferencing a null reference. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class NullReferenceException : SystemException { public NullReferenceException() : base(Environment.GetResourceString("Arg_NullReferenceException")) { SetErrorCode(__HResults.COR_E_NULLREFERENCE); } public NullReferenceException(String message) : base(message) { SetErrorCode(__HResults.COR_E_NULLREFERENCE); } public NullReferenceException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_NULLREFERENCE); } protected NullReferenceException(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: NullReferenceException ** ** ** Purpose: Exception class for dereferencing a null reference. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class NullReferenceException : SystemException { public NullReferenceException() : base(Environment.GetResourceString("Arg_NullReferenceException")) { SetErrorCode(__HResults.COR_E_NULLREFERENCE); } public NullReferenceException(String message) : base(message) { SetErrorCode(__HResults.COR_E_NULLREFERENCE); } public NullReferenceException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_NULLREFERENCE); } protected NullReferenceException(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
- MemberDomainMap.cs
- GridViewColumnHeader.cs
- ChangeInterceptorAttribute.cs
- DataGridViewImageCell.cs
- UrlPath.cs
- SecondaryIndexList.cs
- PointAnimationUsingKeyFrames.cs
- Cursor.cs
- ModifyActivitiesPropertyDescriptor.cs
- ConfigXmlText.cs
- TableRow.cs
- SymbolType.cs
- ScrollBarAutomationPeer.cs
- SharedDp.cs
- SymmetricAlgorithm.cs
- ProxyManager.cs
- Matrix3D.cs
- GeneralTransform3DGroup.cs
- UseLicense.cs
- StackBuilderSink.cs
- CodeValidator.cs
- DirectoryObjectSecurity.cs
- Calendar.cs
- BitmapSource.cs
- SqlBooleanMismatchVisitor.cs
- Line.cs
- _SecureChannel.cs
- SwitchAttribute.cs
- TemplateEditingVerb.cs
- Polyline.cs
- ToolStripLocationCancelEventArgs.cs
- CancellableEnumerable.cs
- Stackframe.cs
- WindowsMenu.cs
- RemotingServices.cs
- LinkConverter.cs
- JsonDataContract.cs
- PointCollection.cs
- RoleServiceManager.cs
- LoginName.cs
- ExpressionConverter.cs
- InputElement.cs
- SetStoryboardSpeedRatio.cs
- TrackBarRenderer.cs
- EntityDataSourceWrapperCollection.cs
- UnaryExpression.cs
- CompiledRegexRunnerFactory.cs
- TableItemProviderWrapper.cs
- XamlPathDataSerializer.cs
- Graphics.cs
- SqlRewriteScalarSubqueries.cs
- NamedObject.cs
- ObjectPersistData.cs
- Rfc4050KeyFormatter.cs
- TextProperties.cs
- _NetworkingPerfCounters.cs
- InputBindingCollection.cs
- SpellerHighlightLayer.cs
- ProxyFragment.cs
- NavigationExpr.cs
- EditableTreeList.cs
- Container.cs
- MimeTypeAttribute.cs
- CachedResourceDictionaryExtension.cs
- CodeDOMUtility.cs
- HttpCookieCollection.cs
- KeyValuePairs.cs
- XpsViewerException.cs
- Material.cs
- ToolZone.cs
- JsonServiceDocumentSerializer.cs
- ConfigurationValidatorAttribute.cs
- CodeObjectCreateExpression.cs
- Wildcard.cs
- COM2FontConverter.cs
- PrimitiveCodeDomSerializer.cs
- FixedSOMSemanticBox.cs
- ContextStaticAttribute.cs
- ACE.cs
- InOutArgument.cs
- ExtendedPropertyInfo.cs
- AddInServer.cs
- UserPreferenceChangingEventArgs.cs
- HttpRequestCacheValidator.cs
- Native.cs
- AssociationTypeEmitter.cs
- CapiSymmetricAlgorithm.cs
- TextTreeTextBlock.cs
- ConsumerConnectionPoint.cs
- HttpBindingExtension.cs
- ConstraintConverter.cs
- Rijndael.cs
- cookieexception.cs
- KeyedPriorityQueue.cs
- Roles.cs
- DesignerObjectListAdapter.cs
- FormViewInsertEventArgs.cs
- ListViewDataItem.cs
- OdbcConnectionOpen.cs
- BaseCollection.cs