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
- CustomUserNameSecurityTokenAuthenticator.cs
- TypeConverterHelper.cs
- ImageMapEventArgs.cs
- WebHttpBehavior.cs
- IIS7WorkerRequest.cs
- XmlSchemaSimpleTypeList.cs
- CodePageEncoding.cs
- ExceptionNotification.cs
- RoutedCommand.cs
- RemoteWebConfigurationHostStream.cs
- PropertyGridEditorPart.cs
- ColorTranslator.cs
- SettingsPropertyValue.cs
- ReadOnlyDictionary.cs
- WebPartTracker.cs
- TableDetailsCollection.cs
- AttributeCollection.cs
- StringFunctions.cs
- ImageDrawing.cs
- BooleanSwitch.cs
- DateTimeStorage.cs
- RecognizedAudio.cs
- HtmlHistory.cs
- WindowsListViewScroll.cs
- WebPartsPersonalization.cs
- Emitter.cs
- MemoryStream.cs
- _IPv4Address.cs
- DbConnectionStringCommon.cs
- LinqDataSourceInsertEventArgs.cs
- Rijndael.cs
- XamlToRtfParser.cs
- UInt16.cs
- CodeSubDirectoriesCollection.cs
- DesignerActionUI.cs
- XmlNodeReader.cs
- Table.cs
- Collection.cs
- TaiwanLunisolarCalendar.cs
- MemoryFailPoint.cs
- ImageDrawing.cs
- Descriptor.cs
- Pens.cs
- Evidence.cs
- ActivityTypeResolver.xaml.cs
- DataSourceXmlAttributeAttribute.cs
- DataGridViewCellStateChangedEventArgs.cs
- EnvelopedPkcs7.cs
- DurationConverter.cs
- ButtonStandardAdapter.cs
- PermissionAttributes.cs
- EdgeProfileValidation.cs
- Vector3DIndependentAnimationStorage.cs
- XslNumber.cs
- DataServiceEntityAttribute.cs
- IdentityManager.cs
- SplashScreen.cs
- XmlLanguageConverter.cs
- AnimationStorage.cs
- PenThread.cs
- DataObjectPastingEventArgs.cs
- TaskFormBase.cs
- SqlBooleanMismatchVisitor.cs
- UniqueIdentifierService.cs
- XmlCompatibilityReader.cs
- DataFormat.cs
- Size.cs
- WindowsTokenRoleProvider.cs
- Vector3DKeyFrameCollection.cs
- Buffer.cs
- XmlIterators.cs
- InvalidProgramException.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- ListViewDataItem.cs
- ImageSource.cs
- XPathArrayIterator.cs
- WindowsFormsHostAutomationPeer.cs
- EdmEntityTypeAttribute.cs
- IndicCharClassifier.cs
- EventInfo.cs
- DataSourceControlBuilder.cs
- ObjectDataSourceMethodEventArgs.cs
- DataGridViewCellValueEventArgs.cs
- StylusShape.cs
- MaskedTextProvider.cs
- PriorityRange.cs
- FileUtil.cs
- SqlUdtInfo.cs
- HttpWrapper.cs
- DocumentStatusResources.cs
- ColumnResult.cs
- DataGridViewColumnEventArgs.cs
- EntityDesignerUtils.cs
- BufferedOutputStream.cs
- SchemaExporter.cs
- TextBoxBase.cs
- MsdtcClusterUtils.cs
- HtmlElementErrorEventArgs.cs
- TextPenaltyModule.cs
- XmlILIndex.cs