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
- ContainerActivationHelper.cs
- TreeViewImageKeyConverter.cs
- JsonQueryStringConverter.cs
- MessageTraceRecord.cs
- PropertySegmentSerializer.cs
- TrustManager.cs
- TabControlAutomationPeer.cs
- DataTemplate.cs
- FileDialog_Vista_Interop.cs
- EntityCommandCompilationException.cs
- MenuStrip.cs
- LocationUpdates.cs
- SolidColorBrush.cs
- ObjectConverter.cs
- RelationshipType.cs
- FixedTextSelectionProcessor.cs
- EntityContainer.cs
- ReversePositionQuery.cs
- MD5CryptoServiceProvider.cs
- Identifier.cs
- Label.cs
- Utils.cs
- ObjectListFieldsPage.cs
- XmlSchemas.cs
- GeneralTransformCollection.cs
- InvalidProgramException.cs
- AxisAngleRotation3D.cs
- CodeAttributeDeclarationCollection.cs
- TextElementCollectionHelper.cs
- BitVector32.cs
- SchemaTypeEmitter.cs
- ConfigurationSettings.cs
- NumberSubstitution.cs
- UnsafeNativeMethods.cs
- WebPartConnection.cs
- CommonProperties.cs
- DeflateEmulationStream.cs
- HierarchicalDataSourceControl.cs
- BlurBitmapEffect.cs
- WebPartConnectVerb.cs
- GridViewSelectEventArgs.cs
- DataGridViewColumn.cs
- WeakEventTable.cs
- ColumnBinding.cs
- RectValueSerializer.cs
- FontInfo.cs
- EntityDescriptor.cs
- SimpleFieldTemplateFactory.cs
- XmlCharType.cs
- WorkflowItemsPresenter.cs
- ReflectionPermission.cs
- SqlFormatter.cs
- FeatureSupport.cs
- UIntPtr.cs
- FocusManager.cs
- EditorAttributeInfo.cs
- CannotUnloadAppDomainException.cs
- Win32Native.cs
- RangeBase.cs
- HostVisual.cs
- MultipartContentParser.cs
- WorkflowViewElement.cs
- DataSourceControl.cs
- VideoDrawing.cs
- ElasticEase.cs
- HandleDictionary.cs
- ClientScriptItem.cs
- DataTableExtensions.cs
- Timeline.cs
- PolyQuadraticBezierSegment.cs
- WS2007FederationHttpBindingCollectionElement.cs
- SerializationObjectManager.cs
- infer.cs
- ExternalException.cs
- safelinkcollection.cs
- DoubleLinkList.cs
- SortAction.cs
- DataSourceSelectArguments.cs
- Page.cs
- PointLightBase.cs
- DecimalAnimationUsingKeyFrames.cs
- DictionaryManager.cs
- RuleCache.cs
- DefaultSection.cs
- TextEditorDragDrop.cs
- SqlInfoMessageEvent.cs
- HttpCacheVaryByContentEncodings.cs
- querybuilder.cs
- HelpEvent.cs
- SelectionRange.cs
- DetailsViewUpdateEventArgs.cs
- BookmarkScopeInfo.cs
- DriveNotFoundException.cs
- PersonalizationStateQuery.cs
- TrackingProvider.cs
- NativeRecognizer.cs
- RoutedCommand.cs
- XmlSignatureManifest.cs
- WizardDesigner.cs
- VerticalAlignConverter.cs