Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Cache / FileResponseElement.cs / 1305376 / FileResponseElement.cs
using System; using System.Security.Permissions; using System.Web; using System.Web.Caching; namespace System.Web.Caching { [Serializable] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Unrestricted)] public class FileResponseElement: ResponseElement { private String _path; private long _offset; private long _length; public String Path { get { return _path; } } public long Offset { get { return _offset; } } public long Length { get { return _length; } } private FileResponseElement() { } // hide default constructor public FileResponseElement(String path, long offset, long length) { if (path == null) throw new ArgumentNullException("path"); if (offset < 0) throw new ArgumentOutOfRangeException("offset"); if (length < 0) throw new ArgumentOutOfRangeException("length"); _path = path; _offset = offset; _length = length; } } } // 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
- ZipIOExtraField.cs
- SectionRecord.cs
- GenerateHelper.cs
- OrderedDictionaryStateHelper.cs
- SettingsPropertyValue.cs
- PrinterResolution.cs
- GridToolTip.cs
- DPTypeDescriptorContext.cs
- GlobalDataBindingHandler.cs
- AnonymousIdentificationModule.cs
- NonVisualControlAttribute.cs
- HostVisual.cs
- TextTreePropertyUndoUnit.cs
- FactoryMaker.cs
- webeventbuffer.cs
- MetaForeignKeyColumn.cs
- InstalledFontCollection.cs
- LoginView.cs
- PageSetupDialog.cs
- ConfigurationLockCollection.cs
- FrameworkRichTextComposition.cs
- CompilerCollection.cs
- RowCache.cs
- EncoderFallback.cs
- XmlSchemaImporter.cs
- AnnotationObservableCollection.cs
- QueryExpression.cs
- PackageStore.cs
- HttpCachePolicyElement.cs
- ControlSerializer.cs
- StructuredType.cs
- LineSegment.cs
- DataServiceResponse.cs
- DefaultValidator.cs
- VBCodeProvider.cs
- SerTrace.cs
- ListenerConnectionDemuxer.cs
- EntitySetBase.cs
- WebDisplayNameAttribute.cs
- DataSourceSerializationException.cs
- SqlDelegatedTransaction.cs
- AuthenticationModulesSection.cs
- ListViewSortEventArgs.cs
- ResourceAssociationType.cs
- HostedBindingBehavior.cs
- WindowsListView.cs
- InnerItemCollectionView.cs
- FormatterServices.cs
- Application.cs
- Mappings.cs
- MatrixCamera.cs
- _UriTypeConverter.cs
- ObjectItemCollection.cs
- XhtmlBasicPhoneCallAdapter.cs
- TextBoxRenderer.cs
- XmlSchemaSubstitutionGroup.cs
- SqlMethodAttribute.cs
- CompilerResults.cs
- LabelInfo.cs
- NumericUpDownAcceleration.cs
- PropertyPathConverter.cs
- WebPartMinimizeVerb.cs
- WindowsSolidBrush.cs
- ExtentJoinTreeNode.cs
- SymbolEqualComparer.cs
- Parsers.cs
- AxisAngleRotation3D.cs
- MatchAttribute.cs
- StaticTextPointer.cs
- DecimalAnimation.cs
- ObjectListComponentEditor.cs
- ActivationServices.cs
- DefaultValueAttribute.cs
- CompilerWrapper.cs
- DetailsViewRowCollection.cs
- CollectionConverter.cs
- CommandDevice.cs
- Configuration.cs
- OrderablePartitioner.cs
- CapacityStreamGeometryContext.cs
- DesignTimeParseData.cs
- File.cs
- EntityPropertyMappingAttribute.cs
- ObjectListCommandCollection.cs
- QueryStringParameter.cs
- SqlClientWrapperSmiStreamChars.cs
- GuidelineCollection.cs
- FocusChangedEventArgs.cs
- EpmCustomContentDeSerializer.cs
- CFStream.cs
- EpmSourceTree.cs
- BaseTreeIterator.cs
- FixedTextContainer.cs
- XmlSchemaDocumentation.cs
- XmlWellformedWriter.cs
- XmlSchemaSearchPattern.cs
- TrustLevelCollection.cs
- ProviderCommandInfoUtils.cs
- util.cs
- BitmapEffectInput.cs