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
- WebConfigurationHostFileChange.cs
- DataObjectSettingDataEventArgs.cs
- BaseHashHelper.cs
- HtmlTableRowCollection.cs
- ToolboxItem.cs
- DateTimeAutomationPeer.cs
- AlgoModule.cs
- SqlWorkflowPersistenceService.cs
- DayRenderEvent.cs
- HopperCache.cs
- SimpleWorkerRequest.cs
- ExpressionBindingCollection.cs
- SafeMemoryMappedFileHandle.cs
- ListView.cs
- KeyToListMap.cs
- UIElementParagraph.cs
- ElapsedEventArgs.cs
- FormViewPagerRow.cs
- Quad.cs
- RepeaterItemEventArgs.cs
- FocusManager.cs
- ServicePointManager.cs
- ScriptDescriptor.cs
- ListView.cs
- DataViewManager.cs
- SafeRegistryKey.cs
- EventLogReader.cs
- HierarchicalDataBoundControlAdapter.cs
- ServiceElementCollection.cs
- WebResponse.cs
- BufferedGraphicsContext.cs
- ColorInterpolationModeValidation.cs
- BitmapScalingModeValidation.cs
- StatusBarItem.cs
- SqlException.cs
- CapiSafeHandles.cs
- ISAPIWorkerRequest.cs
- LogReservationCollection.cs
- DecodeHelper.cs
- BrowserCapabilitiesCompiler.cs
- CacheOutputQuery.cs
- HttpResponseBase.cs
- NativeMethods.cs
- Queue.cs
- TableHeaderCell.cs
- FormatVersion.cs
- TableLayoutPanelCellPosition.cs
- FieldNameLookup.cs
- StoryFragments.cs
- DataControlPagerLinkButton.cs
- WindowsFont.cs
- BinaryFormatter.cs
- ToolStripTextBox.cs
- ProgressBarRenderer.cs
- ASCIIEncoding.cs
- CLRBindingWorker.cs
- UidPropertyAttribute.cs
- JsonMessageEncoderFactory.cs
- ThreadSafeList.cs
- Int64AnimationUsingKeyFrames.cs
- BamlLocalizableResource.cs
- ModuleConfigurationInfo.cs
- WebHostScriptMappingsInstallComponent.cs
- WsatRegistrationHeader.cs
- ProviderConnectionPointCollection.cs
- TextServicesContext.cs
- TrackBarRenderer.cs
- VectorAnimationUsingKeyFrames.cs
- CqlParserHelpers.cs
- TextEditorThreadLocalStore.cs
- WaitingCursor.cs
- SqlUserDefinedAggregateAttribute.cs
- DESCryptoServiceProvider.cs
- RootBrowserWindowProxy.cs
- DiscoveryDocumentReference.cs
- GlobalizationAssembly.cs
- TabPage.cs
- InlineCollection.cs
- ReadContentAsBinaryHelper.cs
- DateTimePicker.cs
- Subset.cs
- ToolbarAUtomationPeer.cs
- IdnElement.cs
- ControlValuePropertyAttribute.cs
- Helper.cs
- SchemaAttDef.cs
- TextServicesHost.cs
- UnhandledExceptionEventArgs.cs
- ExpressionsCollectionEditor.cs
- Schedule.cs
- DataGridViewBand.cs
- WebConfigurationManager.cs
- DocumentViewerAutomationPeer.cs
- AuthenticationManager.cs
- DispatchWrapper.cs
- ChannelProtectionRequirements.cs
- HttpVersion.cs
- SqlFileStream.cs
- EntityRecordInfo.cs
- ArrayExtension.cs