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
- DBSqlParser.cs
- TypeConvertions.cs
- ReaderWriterLock.cs
- RijndaelManaged.cs
- LocalizabilityAttribute.cs
- WebUtil.cs
- DataColumn.cs
- ResourceReferenceKeyNotFoundException.cs
- HwndStylusInputProvider.cs
- MethodBody.cs
- StylusCaptureWithinProperty.cs
- PartialTrustHelpers.cs
- IsolatedStorage.cs
- TextEditorTyping.cs
- CommandSet.cs
- DbConnectionOptions.cs
- LifetimeServices.cs
- XamlPointCollectionSerializer.cs
- EventMemberCodeDomSerializer.cs
- HttpConfigurationSystem.cs
- XmlSortKey.cs
- HelpProvider.cs
- MarkedHighlightComponent.cs
- Trace.cs
- TabItemWrapperAutomationPeer.cs
- NetCodeGroup.cs
- CodeNamespaceImport.cs
- ExpressionValueEditor.cs
- unsafenativemethodsother.cs
- DropSource.cs
- TextFormatter.cs
- PageAdapter.cs
- SiteMapDataSourceView.cs
- DataBinder.cs
- ExternalDataExchangeClient.cs
- TextSpanModifier.cs
- HttpClientProtocol.cs
- SkewTransform.cs
- ToolStripSplitStackLayout.cs
- PassportIdentity.cs
- DesignTimeType.cs
- _StreamFramer.cs
- InputScope.cs
- ConstraintEnumerator.cs
- CustomCredentialPolicy.cs
- PackageDigitalSignatureManager.cs
- CurrentTimeZone.cs
- TrackingAnnotationCollection.cs
- DataObjectAttribute.cs
- Dynamic.cs
- XhtmlBasicPhoneCallAdapter.cs
- DesignBindingValueUIHandler.cs
- DelegatingHeader.cs
- HandlerMappingMemo.cs
- PolygonHotSpot.cs
- TemplateParser.cs
- ParseElement.cs
- baseaxisquery.cs
- CultureTableRecord.cs
- DiagnosticsConfigurationHandler.cs
- securestring.cs
- Sequence.cs
- UriExt.cs
- ProgressBar.cs
- StatusBarDrawItemEvent.cs
- SecurityTokenContainer.cs
- SoapWriter.cs
- _FtpDataStream.cs
- Quad.cs
- commandenforcer.cs
- StylusDownEventArgs.cs
- ToolboxBitmapAttribute.cs
- COM2TypeInfoProcessor.cs
- IItemContainerGenerator.cs
- TextPattern.cs
- InvokeProviderWrapper.cs
- SqlCaseSimplifier.cs
- MessageAction.cs
- PlaceHolder.cs
- QueryUtil.cs
- RequestedSignatureDialog.cs
- ImageMapEventArgs.cs
- ObjectReaderCompiler.cs
- TemplateBindingExtension.cs
- HttpResponseBase.cs
- InvalidContentTypeException.cs
- LinkClickEvent.cs
- ConfigurationManagerHelper.cs
- InternalSafeNativeMethods.cs
- ComboBox.cs
- RoleGroupCollectionEditor.cs
- XPathArrayIterator.cs
- PointIndependentAnimationStorage.cs
- SafeArchiveContext.cs
- _SSPIWrapper.cs
- InkCanvasSelectionAdorner.cs
- TextDecorationUnitValidation.cs
- DynamicMethod.cs
- CuspData.cs
- QilBinary.cs