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
- DynamicVirtualDiscoSearcher.cs
- ChildrenQuery.cs
- OutKeywords.cs
- PerformanceCounter.cs
- LayoutTable.cs
- ShaderEffect.cs
- FileRecordSequence.cs
- AssemblyAttributes.cs
- AssociationSetMetadata.cs
- CookielessHelper.cs
- ElementUtil.cs
- TraceContextEventArgs.cs
- EdmRelationshipRoleAttribute.cs
- WebPartEditorCancelVerb.cs
- PropertyDescriptorGridEntry.cs
- XmlProcessingInstruction.cs
- XamlInt32CollectionSerializer.cs
- ServiceMetadataBehavior.cs
- BackgroundFormatInfo.cs
- TransportOutputChannel.cs
- CqlWriter.cs
- VirtualDirectoryMappingCollection.cs
- AddInController.cs
- RSAOAEPKeyExchangeDeformatter.cs
- FlowDocumentPage.cs
- MetadataUtil.cs
- NumberFormatter.cs
- DataBinding.cs
- ErrorEventArgs.cs
- CodeSnippetCompileUnit.cs
- SID.cs
- Transform3D.cs
- dbenumerator.cs
- securitycriticaldataClass.cs
- ScopelessEnumAttribute.cs
- FileResponseElement.cs
- RoleServiceManager.cs
- EditingCoordinator.cs
- Bold.cs
- TemplateLookupAction.cs
- StartUpEventArgs.cs
- EastAsianLunisolarCalendar.cs
- RubberbandSelector.cs
- RecordManager.cs
- RegexGroup.cs
- sortedlist.cs
- DocumentSequenceHighlightLayer.cs
- StreamWithDictionary.cs
- ThreadExceptionDialog.cs
- ProfileModule.cs
- HtmlElementEventArgs.cs
- ErrorFormatter.cs
- NullReferenceException.cs
- XmlReflectionImporter.cs
- CompareValidator.cs
- XhtmlBasicPhoneCallAdapter.cs
- PartialToken.cs
- SubpageParagraph.cs
- WindowsListViewGroup.cs
- PathParser.cs
- ActionItem.cs
- AuthorizationPolicyTypeElementCollection.cs
- XmlSchemaAttributeGroupRef.cs
- CollectionsUtil.cs
- TextBox.cs
- CategoryGridEntry.cs
- PersonalizationProvider.cs
- FrugalList.cs
- _MultipleConnectAsync.cs
- CompilerLocalReference.cs
- HtmlInputButton.cs
- AuthenticateEventArgs.cs
- UriWriter.cs
- DispatcherExceptionEventArgs.cs
- PageTheme.cs
- PersonalizableTypeEntry.cs
- ProviderCommandInfoUtils.cs
- ZipIOLocalFileBlock.cs
- HuffCodec.cs
- MatrixTransform3D.cs
- XmlSchemaObject.cs
- FixedTextPointer.cs
- AdornedElementPlaceholder.cs
- StoryFragments.cs
- RoutedCommand.cs
- OutputCacheSection.cs
- C14NUtil.cs
- DrawListViewSubItemEventArgs.cs
- listitem.cs
- ParallelTimeline.cs
- InternalConfigHost.cs
- EntityFunctions.cs
- ForceCopyBuildProvider.cs
- MimeTypeMapper.cs
- ReadingWritingEntityEventArgs.cs
- ProjectionCamera.cs
- WorkflowOperationInvoker.cs
- CounterCreationDataCollection.cs
- QueryGeneratorBase.cs
- PlainXmlDeserializer.cs