Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Cache / HeaderElement.cs / 1305376 / HeaderElement.cs
using System; using System.Security.Permissions; using System.Web; using System.Web.Caching; namespace System.Web.Caching { // A header element holds the header name and value. [Serializable] public sealed class HeaderElement { private string _name; private string _value; public string Name { get { return _name; } } public string Value { get { return _value; } } private HeaderElement() { } // hide default constructor public HeaderElement(string name, string value) { if (name == null) throw new ArgumentNullException("name"); if (value == null) throw new ArgumentNullException("value"); _name = name; _value = value; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Security.Permissions; using System.Web; using System.Web.Caching; namespace System.Web.Caching { // A header element holds the header name and value. [Serializable] public sealed class HeaderElement { private string _name; private string _value; public string Name { get { return _name; } } public string Value { get { return _value; } } private HeaderElement() { } // hide default constructor public HeaderElement(string name, string value) { if (name == null) throw new ArgumentNullException("name"); if (value == null) throw new ArgumentNullException("value"); _name = name; _value = value; } } } // 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
- SqlGatherProducedAliases.cs
- SystemIPInterfaceStatistics.cs
- ZipIOExtraFieldPaddingElement.cs
- CurrentChangedEventManager.cs
- ResourceKey.cs
- DrawingVisualDrawingContext.cs
- ConditionChanges.cs
- EdmToObjectNamespaceMap.cs
- CommandBindingCollection.cs
- DrawingServices.cs
- TabControlCancelEvent.cs
- EventLogInternal.cs
- TextTreeText.cs
- BooleanStorage.cs
- MenuItem.cs
- ProvideValueServiceProvider.cs
- Stack.cs
- EventQueueState.cs
- Normalization.cs
- CleanUpVirtualizedItemEventArgs.cs
- XMLSchema.cs
- TempFiles.cs
- HwndTarget.cs
- ListViewItemSelectionChangedEvent.cs
- SatelliteContractVersionAttribute.cs
- IndicFontClient.cs
- IndexedGlyphRun.cs
- CopyAttributesAction.cs
- EnumerableCollectionView.cs
- ProxyWebPart.cs
- ConnectionInterfaceCollection.cs
- GridViewSortEventArgs.cs
- HttpCookie.cs
- NeutralResourcesLanguageAttribute.cs
- ExpressionDumper.cs
- CategoryAttribute.cs
- RuleDefinitions.cs
- ListViewPagedDataSource.cs
- ISAPIWorkerRequest.cs
- DesignerSerializationOptionsAttribute.cs
- XPathExpr.cs
- ContextMarshalException.cs
- SimpleTypeResolver.cs
- DbConnectionHelper.cs
- XPathNodeHelper.cs
- MetabaseServerConfig.cs
- TextElementCollection.cs
- ResourceWriter.cs
- StringPropertyBuilder.cs
- NavigationCommands.cs
- ValueOfAction.cs
- ListComponentEditor.cs
- Select.cs
- XamlReaderHelper.cs
- PersistencePipeline.cs
- sqlser.cs
- SqlRewriteScalarSubqueries.cs
- NameValueSectionHandler.cs
- ExpandableObjectConverter.cs
- CmsUtils.cs
- Rules.cs
- ButtonColumn.cs
- CodeTypeParameter.cs
- BaseContextMenu.cs
- BooleanExpr.cs
- XmlSchemaParticle.cs
- Misc.cs
- ConfigurationSectionCollection.cs
- MatrixTransform.cs
- CachedFontFamily.cs
- DataPagerFieldItem.cs
- ConnectionManagementSection.cs
- ViewStateException.cs
- InputReportEventArgs.cs
- SqlWorkflowPersistenceService.cs
- HtmlWindowCollection.cs
- ParentUndoUnit.cs
- EnvironmentPermission.cs
- SendMailErrorEventArgs.cs
- ProfilePropertySettingsCollection.cs
- ToolStripRendererSwitcher.cs
- StorageModelBuildProvider.cs
- DataBindingHandlerAttribute.cs
- validationstate.cs
- AdjustableArrowCap.cs
- NonPrimarySelectionGlyph.cs
- UpdatableWrapper.cs
- StreamWriter.cs
- SeekableReadStream.cs
- ConversionContext.cs
- Lease.cs
- ListViewGroupConverter.cs
- XmlAttributeOverrides.cs
- InstanceDescriptor.cs
- OpenTypeMethods.cs
- PeerName.cs
- Expressions.cs
- OrderByQueryOptionExpression.cs
- PeerNameResolver.cs
- DataGridRelationshipRow.cs