Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- KeyGestureValueSerializer.cs
- ImageDrawing.cs
- grammarelement.cs
- AlternateView.cs
- PackageFilter.cs
- bindurihelper.cs
- VariableAction.cs
- PointAnimationClockResource.cs
- DictionaryBase.cs
- activationcontext.cs
- MethodImplAttribute.cs
- LinearGradientBrush.cs
- OutOfProcStateClientManager.cs
- FolderBrowserDialog.cs
- CalendarSelectionChangedEventArgs.cs
- ShaderEffect.cs
- ComponentChangingEvent.cs
- FileLogRecordEnumerator.cs
- LinkArea.cs
- HttpHeaderCollection.cs
- DefaultValueMapping.cs
- CustomDictionarySources.cs
- XMLSchema.cs
- MenuItemBindingCollection.cs
- Decimal.cs
- SecurityCriticalDataForSet.cs
- DataServiceConfiguration.cs
- DatatypeImplementation.cs
- DuplicateContext.cs
- ToolStripDropDownButton.cs
- GlyphTypeface.cs
- CheckBoxFlatAdapter.cs
- DataPagerFieldItem.cs
- HtmlInputControl.cs
- ZipPackagePart.cs
- QfeChecker.cs
- AccessControlList.cs
- InternalTypeHelper.cs
- TextContainerChangeEventArgs.cs
- XamlUtilities.cs
- SerializationInfoEnumerator.cs
- RemotingServices.cs
- URLMembershipCondition.cs
- ContentElementAutomationPeer.cs
- WebPartPersonalization.cs
- sitestring.cs
- UnmanagedBitmapWrapper.cs
- HyperLink.cs
- _BasicClient.cs
- ClusterRegistryConfigurationProvider.cs
- KeysConverter.cs
- StackBuilderSink.cs
- SqlDataSourceFilteringEventArgs.cs
- FixedSOMLineRanges.cs
- UserInitiatedNavigationPermission.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- WsdlInspector.cs
- WebSysDefaultValueAttribute.cs
- MediaContext.cs
- PropertyDescriptor.cs
- UrlMapping.cs
- StringToken.cs
- ZipIOLocalFileDataDescriptor.cs
- UrlUtility.cs
- AttachedAnnotation.cs
- TypeUsage.cs
- DataViewManager.cs
- LogicalCallContext.cs
- GridViewDesigner.cs
- TargetControlTypeCache.cs
- GeneratedView.cs
- FixedTextBuilder.cs
- GridViewColumnHeader.cs
- UnicodeEncoding.cs
- SqlStream.cs
- OrCondition.cs
- ComponentEditorPage.cs
- HandleRef.cs
- AuthenticationModuleElementCollection.cs
- Assembly.cs
- OdbcErrorCollection.cs
- BuilderInfo.cs
- StaticExtension.cs
- ChameleonKey.cs
- PassportAuthenticationEventArgs.cs
- DataGridState.cs
- DocumentOrderQuery.cs
- SecurityContextTokenValidationException.cs
- DetailsViewCommandEventArgs.cs
- SoapInteropTypes.cs
- MenuRenderer.cs
- TextProperties.cs
- MarkupCompilePass2.cs
- ToolStripItemBehavior.cs
- BypassElementCollection.cs
- FrameworkObject.cs
- DataGridViewCellEventArgs.cs
- AsyncInvokeOperation.cs
- CompilationUnit.cs
- CompilerParameters.cs