Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ButtonColumn.cs
- ServiceElementCollection.cs
- Regex.cs
- Single.cs
- EncryptionUtility.cs
- FilterQueryOptionExpression.cs
- _TimerThread.cs
- Point4D.cs
- SrgsRuleRef.cs
- CodeCatchClauseCollection.cs
- TimeSpanOrInfiniteValidator.cs
- Thickness.cs
- XmlSchemaAttributeGroupRef.cs
- FileDialogCustomPlace.cs
- ColorConvertedBitmap.cs
- SAPICategories.cs
- BreakSafeBase.cs
- ListCardsInFileRequest.cs
- DataGridViewAutoSizeModeEventArgs.cs
- WindowsTokenRoleProvider.cs
- ExpressionParser.cs
- NavigationService.cs
- ReflectionServiceProvider.cs
- TargetInvocationException.cs
- CroppedBitmap.cs
- MessageBox.cs
- TransformCryptoHandle.cs
- ContentTextAutomationPeer.cs
- MimeReflector.cs
- ColumnResizeUndoUnit.cs
- _WebProxyDataBuilder.cs
- List.cs
- ThumbButtonInfoCollection.cs
- PageBuildProvider.cs
- WebPartEditorCancelVerb.cs
- FreezableOperations.cs
- LineUtil.cs
- RuleConditionDialog.cs
- DbModificationClause.cs
- XsdValidatingReader.cs
- CorrelationManager.cs
- TreeNodeConverter.cs
- KeyPullup.cs
- HttpCachePolicy.cs
- FileSystemInfo.cs
- PromptEventArgs.cs
- SkipQueryOptionExpression.cs
- DebugView.cs
- TextRangeSerialization.cs
- DynamicRenderer.cs
- FlowNode.cs
- OracleDateTime.cs
- FullTrustAssembliesSection.cs
- OutputCacheSection.cs
- WebBrowser.cs
- BitmapEffectInput.cs
- ExtractorMetadata.cs
- SqlDelegatedTransaction.cs
- ProtocolState.cs
- CompareValidator.cs
- TaskForm.cs
- ActivityCodeDomSerializationManager.cs
- Publisher.cs
- LambdaCompiler.Generated.cs
- ArcSegment.cs
- StringToken.cs
- XmlObjectSerializerReadContextComplexJson.cs
- ObjectSpanRewriter.cs
- DateTimeConstantAttribute.cs
- ScrollBarRenderer.cs
- QfeChecker.cs
- InfoCardKeyedHashAlgorithm.cs
- ButtonAutomationPeer.cs
- PointConverter.cs
- securitymgrsite.cs
- ADRoleFactory.cs
- HostingEnvironmentSection.cs
- SelectionItemPattern.cs
- OutgoingWebResponseContext.cs
- GeometryGroup.cs
- UntrustedRecipientException.cs
- ImageField.cs
- XmlIgnoreAttribute.cs
- SafeRightsManagementSessionHandle.cs
- GuidelineSet.cs
- DataColumnChangeEvent.cs
- DesignTimeParseData.cs
- BookmarkNameHelper.cs
- MetadataUtilsSmi.cs
- Rule.cs
- DesignerResources.cs
- mactripleDES.cs
- MsmqReceiveHelper.cs
- DataRowExtensions.cs
- TypeToken.cs
- PerformanceCounter.cs
- Rotation3D.cs
- ToolStripItemClickedEventArgs.cs
- GlyphsSerializer.cs
- Transform3DGroup.cs