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
- Operators.cs
- XmlRawWriterWrapper.cs
- UrlAuthFailedErrorFormatter.cs
- CatalogZoneDesigner.cs
- TextCompositionManager.cs
- _Events.cs
- AttachedPropertyMethodSelector.cs
- MsmqProcessProtocolHandler.cs
- UInt64Converter.cs
- DocumentEventArgs.cs
- DocumentPageTextView.cs
- ClickablePoint.cs
- ToolStripItem.cs
- ColumnHeader.cs
- PropertyRecord.cs
- XslTransform.cs
- HttpPostedFile.cs
- DelegatingTypeDescriptionProvider.cs
- nulltextcontainer.cs
- ObjectComplexPropertyMapping.cs
- WebPartZoneCollection.cs
- DataObjectCopyingEventArgs.cs
- DeploymentExceptionMapper.cs
- ErrorLog.cs
- CounterCreationData.cs
- FlowPanelDesigner.cs
- CodeSnippetCompileUnit.cs
- AvTraceDetails.cs
- UnsafeNativeMethods.cs
- PasswordDeriveBytes.cs
- PropertyPath.cs
- SaveFileDialog.cs
- SmiContext.cs
- RadioButtonPopupAdapter.cs
- ScriptReferenceBase.cs
- EntityClassGenerator.cs
- updatecommandorderer.cs
- BinaryCommonClasses.cs
- HttpContextServiceHost.cs
- MTConfigUtil.cs
- ClientUrlResolverWrapper.cs
- SeekableReadStream.cs
- TextTreeDeleteContentUndoUnit.cs
- Ray3DHitTestResult.cs
- SqlCacheDependency.cs
- Fx.cs
- Parsers.cs
- GridItemPatternIdentifiers.cs
- DecoderExceptionFallback.cs
- MailWebEventProvider.cs
- OleDbSchemaGuid.cs
- sqlinternaltransaction.cs
- HttpCachePolicyWrapper.cs
- DeclaredTypeElement.cs
- SqlUdtInfo.cs
- MimeObjectFactory.cs
- DbException.cs
- Command.cs
- SpellerHighlightLayer.cs
- EmptyElement.cs
- TextBoxView.cs
- SrgsRuleRef.cs
- tabpagecollectioneditor.cs
- DataGridLength.cs
- PermissionRequestEvidence.cs
- WebMessageFormatHelper.cs
- ServiceDescriptionReflector.cs
- TextFormatterImp.cs
- TextServicesCompartment.cs
- MLangCodePageEncoding.cs
- BaseTemplateBuildProvider.cs
- ObfuscationAttribute.cs
- SessionState.cs
- BoundPropertyEntry.cs
- PageAsyncTaskManager.cs
- SafeUserTokenHandle.cs
- HtmlLink.cs
- AutoGeneratedField.cs
- EncoderNLS.cs
- NavigationProgressEventArgs.cs
- ColumnClickEvent.cs
- URL.cs
- SystemKeyConverter.cs
- NodeInfo.cs
- IncrementalReadDecoders.cs
- ObjectListSelectEventArgs.cs
- AssertHelper.cs
- SamlConditions.cs
- PageSettings.cs
- OracleEncoding.cs
- StateWorkerRequest.cs
- ScrollItemProviderWrapper.cs
- Column.cs
- ExpressionList.cs
- GenericNameHandler.cs
- UriGenerator.cs
- safePerfProviderHandle.cs
- HashCoreRequest.cs
- ToolboxCategoryItems.cs
- XmlRootAttribute.cs