Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Cache / MemoryResponseElement.cs / 1305376 / MemoryResponseElement.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 MemoryResponseElement: ResponseElement { private byte[] _buffer; private long _length; public byte[] Buffer { get { return _buffer; } } public long Length { get { return _length; } } private MemoryResponseElement() { } // hide default constructor public MemoryResponseElement(byte[] buffer, long length) { if (buffer == null) throw new ArgumentNullException("buffer"); if (length < 0 || length > buffer.Length) throw new ArgumentOutOfRangeException("length"); _buffer = buffer; _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
- EmptyReadOnlyDictionaryInternal.cs
- FormViewInsertedEventArgs.cs
- SqlSupersetValidator.cs
- DataBindingCollectionEditor.cs
- SqlTriggerAttribute.cs
- ConnectionPoint.cs
- TileModeValidation.cs
- GiveFeedbackEvent.cs
- ProjectionCamera.cs
- Evidence.cs
- EntityDataSourceDataSelectionPanel.cs
- FixedHighlight.cs
- TableRowGroup.cs
- OutputCacheSettings.cs
- RequestCacheValidator.cs
- View.cs
- CodeCatchClauseCollection.cs
- Padding.cs
- ControlOperationInvoker.cs
- WindowsAuthenticationEventArgs.cs
- SupportingTokenSpecification.cs
- ApplicationGesture.cs
- DataGridViewSelectedCellCollection.cs
- SafeNativeMethods.cs
- EventEntry.cs
- CurrentChangedEventManager.cs
- SerializerProvider.cs
- WebPartUserCapability.cs
- MenuItemBindingCollection.cs
- TypeDelegator.cs
- PocoPropertyAccessorStrategy.cs
- DocumentationServerProtocol.cs
- RegistryExceptionHelper.cs
- SecurityContext.cs
- AssemblyBuilder.cs
- UInt16Storage.cs
- Pair.cs
- DynamicRendererThreadManager.cs
- CngAlgorithm.cs
- XsdDataContractImporter.cs
- ItemList.cs
- WebBrowserDocumentCompletedEventHandler.cs
- KeyEvent.cs
- ObjectPersistData.cs
- CryptoApi.cs
- assemblycache.cs
- TableLayoutCellPaintEventArgs.cs
- DataGridItemEventArgs.cs
- ValidationPropertyAttribute.cs
- WebException.cs
- ProgressPage.cs
- DomNameTable.cs
- InputProcessorProfilesLoader.cs
- Rect.cs
- ContentFilePart.cs
- Label.cs
- PagesChangedEventArgs.cs
- CachingHintValidation.cs
- DataGridViewSelectedCellCollection.cs
- PrintControllerWithStatusDialog.cs
- ReflectEventDescriptor.cs
- XmlSchemaChoice.cs
- TypefaceCollection.cs
- SecurityKeyUsage.cs
- TranslateTransform.cs
- CodeExpressionCollection.cs
- MachineKeySection.cs
- DateBoldEvent.cs
- MailAddress.cs
- shaperfactory.cs
- HeaderedContentControl.cs
- KeyGestureConverter.cs
- XComponentModel.cs
- SafeProcessHandle.cs
- __TransparentProxy.cs
- _NestedSingleAsyncResult.cs
- FamilyCollection.cs
- HighlightComponent.cs
- SqlCommand.cs
- ClientBuildManager.cs
- DynamicArgumentDesigner.xaml.cs
- ButtonChrome.cs
- FlowDocument.cs
- ValueConversionAttribute.cs
- OleDbSchemaGuid.cs
- Barrier.cs
- Int32Rect.cs
- PageRouteHandler.cs
- ConfigDefinitionUpdates.cs
- EntityContainerEmitter.cs
- DataObject.cs
- CodePageEncoding.cs
- Size.cs
- ComponentDispatcherThread.cs
- StringWriter.cs
- ControlFilterExpression.cs
- WebHeaderCollection.cs
- DataView.cs
- DBDataPermission.cs
- InteropTrackingRecord.cs