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
- CollectionBuilder.cs
- CalendarData.cs
- Propagator.JoinPropagator.cs
- ComponentCollection.cs
- ToolStripHighContrastRenderer.cs
- OleDbPermission.cs
- XmlSchemaAll.cs
- ContentPlaceHolder.cs
- StoragePropertyMapping.cs
- TypeInitializationException.cs
- ResourceDescriptionAttribute.cs
- HtmlAnchor.cs
- SecurityDocument.cs
- PeerEndPoint.cs
- Listbox.cs
- Roles.cs
- IconBitmapDecoder.cs
- XmlSerializerVersionAttribute.cs
- StylusShape.cs
- SymbolTable.cs
- CultureInfo.cs
- DelegatedStream.cs
- StreamInfo.cs
- LongPath.cs
- OracleCommandBuilder.cs
- RequestCacheValidator.cs
- SortFieldComparer.cs
- HtmlInputFile.cs
- CacheMode.cs
- HMAC.cs
- QueryContinueDragEventArgs.cs
- DatagridviewDisplayedBandsData.cs
- HttpWebResponse.cs
- _ShellExpression.cs
- XslAstAnalyzer.cs
- TraceHandler.cs
- DescendantBaseQuery.cs
- counter.cs
- ProfileEventArgs.cs
- LogicalExpressionTypeConverter.cs
- PageParserFilter.cs
- ConnectionsZoneDesigner.cs
- MessageHeaderDescriptionCollection.cs
- x509store.cs
- WebPartConnectionsCancelEventArgs.cs
- GetLedgerEntryForRecipientRequest.cs
- SystemResourceKey.cs
- Parsers.cs
- Size3DValueSerializer.cs
- SoapExtensionTypeElement.cs
- WSMessageEncoding.cs
- Speller.cs
- FunctionNode.cs
- PaintEvent.cs
- MethodInfo.cs
- WebPartTracker.cs
- ContentDisposition.cs
- HtmlButton.cs
- CmsUtils.cs
- EntityDataSourceDesignerHelper.cs
- IOThreadTimer.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- FilterQuery.cs
- StrongNameMembershipCondition.cs
- StringUtil.cs
- DataGridTableCollection.cs
- ReliableMessagingVersion.cs
- CellCreator.cs
- UpdateException.cs
- ExpandableObjectConverter.cs
- iisPickupDirectory.cs
- StrokeNode.cs
- BoundField.cs
- SchemaCollectionPreprocessor.cs
- UpdatePanelTrigger.cs
- DataBoundControlAdapter.cs
- ContainerFilterService.cs
- ThreadStartException.cs
- HighContrastHelper.cs
- DataTableMapping.cs
- Types.cs
- GridViewItemAutomationPeer.cs
- IItemContainerGenerator.cs
- UnmanagedMemoryStreamWrapper.cs
- Util.cs
- SessionParameter.cs
- CategoryList.cs
- ParseChildrenAsPropertiesAttribute.cs
- SynchronizationContext.cs
- DetailsViewActionList.cs
- DesignTimeParseData.cs
- RowBinding.cs
- MimeMultiPart.cs
- XmlNodeChangedEventArgs.cs
- CapabilitiesPattern.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- SecureStringHasher.cs
- OleDbFactory.cs
- TextHidden.cs
- GAC.cs