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
- GeneratedContractType.cs
- BrowsableAttribute.cs
- MetafileHeaderWmf.cs
- MetadataArtifactLoaderComposite.cs
- Line.cs
- cookiecollection.cs
- LinqDataSourceDisposeEventArgs.cs
- CodeTypeReference.cs
- ComponentResourceKeyConverter.cs
- CleanUpVirtualizedItemEventArgs.cs
- EncodingDataItem.cs
- LoopExpression.cs
- AmbientProperties.cs
- DSASignatureFormatter.cs
- AccessDataSourceView.cs
- JapaneseLunisolarCalendar.cs
- TdsParserStaticMethods.cs
- CodeDelegateCreateExpression.cs
- SQLByteStorage.cs
- ListQueryResults.cs
- X509CertificateCollection.cs
- CollectionBase.cs
- CommandPlan.cs
- SplitterEvent.cs
- MsmqDiagnostics.cs
- ColumnBinding.cs
- WebRequestModuleElementCollection.cs
- ISFTagAndGuidCache.cs
- AttributeUsageAttribute.cs
- DrawingAttributeSerializer.cs
- AsymmetricSignatureDeformatter.cs
- ProcessRequestArgs.cs
- InvokeWebService.cs
- TagPrefixInfo.cs
- Transform3D.cs
- ControlBindingsCollection.cs
- StrokeIntersection.cs
- WinFormsUtils.cs
- connectionpool.cs
- AbsoluteQuery.cs
- DesignerDataConnection.cs
- DrawingContext.cs
- ToolStripHighContrastRenderer.cs
- sortedlist.cs
- BindingMemberInfo.cs
- ChangesetResponse.cs
- DynamicRenderer.cs
- TraceShell.cs
- webeventbuffer.cs
- IdnMapping.cs
- OneToOneMappingSerializer.cs
- TextWriter.cs
- ErrorWebPart.cs
- SQLBytesStorage.cs
- ConnectionPoint.cs
- odbcmetadatafactory.cs
- ResourceAttributes.cs
- ProviderCommandInfoUtils.cs
- TraceContext.cs
- OrthographicCamera.cs
- HwndSubclass.cs
- MatrixIndependentAnimationStorage.cs
- EntityDesignerUtils.cs
- LogStream.cs
- ToolStripSeparatorRenderEventArgs.cs
- Axis.cs
- NamedPipeActivation.cs
- IArgumentProvider.cs
- EdmEntityTypeAttribute.cs
- NamespaceQuery.cs
- ITextView.cs
- TextRunCache.cs
- BrowserTree.cs
- ResolveNameEventArgs.cs
- Hex.cs
- FileInfo.cs
- MappingMetadataHelper.cs
- WindowsScroll.cs
- SendKeys.cs
- SpeechDetectedEventArgs.cs
- Calendar.cs
- HtmlValidationSummaryAdapter.cs
- HandoffBehavior.cs
- ExponentialEase.cs
- DataTableReader.cs
- MenuRenderer.cs
- AttributeInfo.cs
- PagedDataSource.cs
- SafeFreeMibTable.cs
- TextWriterTraceListener.cs
- FixedDocumentPaginator.cs
- DockingAttribute.cs
- IdentitySection.cs
- ParallelActivityDesigner.cs
- BoundPropertyEntry.cs
- Label.cs
- AsymmetricKeyExchangeFormatter.cs
- ZipIOCentralDirectoryFileHeader.cs
- EntityWithKeyStrategy.cs
- PolyBezierSegment.cs