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
- HiddenField.cs
- ProxyGenerator.cs
- Vertex.cs
- TableItemPatternIdentifiers.cs
- ColorConverter.cs
- TypeContext.cs
- SHA1.cs
- DescendantQuery.cs
- SqlCacheDependencyDatabase.cs
- DefaultBinder.cs
- StreamSecurityUpgradeInitiatorBase.cs
- UserControlParser.cs
- ServiceBuildProvider.cs
- SequentialUshortCollection.cs
- UnsafeNativeMethods.cs
- ImportedNamespaceContextItem.cs
- ComplexTypeEmitter.cs
- TypefaceMap.cs
- LinqDataSource.cs
- ButtonChrome.cs
- DataBindingCollectionEditor.cs
- ParameterToken.cs
- Application.cs
- XmlSerializationGeneratedCode.cs
- OracleParameterBinding.cs
- DataTransferEventArgs.cs
- PriorityBinding.cs
- XmlSerializationGeneratedCode.cs
- RepeaterItemEventArgs.cs
- ParameterEditorUserControl.cs
- UnmanagedHandle.cs
- Function.cs
- CompositeScriptReference.cs
- SchemaMapping.cs
- EntityDataSourceReferenceGroup.cs
- FloatMinMaxAggregationOperator.cs
- HashHelper.cs
- Listen.cs
- SymmetricCryptoHandle.cs
- OutputBuffer.cs
- ProcessModelInfo.cs
- TypeSystem.cs
- HttpApplicationStateWrapper.cs
- HiddenFieldPageStatePersister.cs
- EntityDataSourceReferenceGroup.cs
- EUCJPEncoding.cs
- ToolStripDropTargetManager.cs
- KeyboardNavigation.cs
- ellipse.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- RenderDataDrawingContext.cs
- OleDbPropertySetGuid.cs
- SmiRecordBuffer.cs
- DecimalAnimation.cs
- RegexMatch.cs
- _Win32.cs
- SystemDiagnosticsSection.cs
- PerformanceCounterManager.cs
- ComponentEditorPage.cs
- Quad.cs
- EncryptedPackage.cs
- OneToOneMappingSerializer.cs
- ObjectSecurity.cs
- PointLightBase.cs
- AssemblyCache.cs
- BookmarkOptionsHelper.cs
- ProxyElement.cs
- CodeArrayCreateExpression.cs
- GridViewRow.cs
- ActiveXHost.cs
- RealizationDrawingContextWalker.cs
- ISFTagAndGuidCache.cs
- ComponentManagerBroker.cs
- DataColumnPropertyDescriptor.cs
- MobileSysDescriptionAttribute.cs
- ScriptMethodAttribute.cs
- MethodToken.cs
- DesignerView.xaml.cs
- SemanticResultKey.cs
- cookiecollection.cs
- BrowserDefinition.cs
- PersonalizationDictionary.cs
- GregorianCalendarHelper.cs
- ThousandthOfEmRealPoints.cs
- ProviderIncompatibleException.cs
- OdbcPermission.cs
- SystemDiagnosticsSection.cs
- DataGridViewHitTestInfo.cs
- BeginStoryboard.cs
- EdmToObjectNamespaceMap.cs
- AttributeQuery.cs
- DynamicValidatorEventArgs.cs
- IntegerValidatorAttribute.cs
- Encoder.cs
- Stroke.cs
- OperatingSystem.cs
- HybridDictionary.cs
- DataSourceXmlTextReader.cs
- Encoding.cs
- TypefaceCollection.cs