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
- RegexCompiler.cs
- DataControlButton.cs
- MissingFieldException.cs
- LineUtil.cs
- SessionIDManager.cs
- SecureEnvironment.cs
- linebase.cs
- FontConverter.cs
- UICuesEvent.cs
- ToolStrip.cs
- RegexNode.cs
- RegexTree.cs
- DataServiceClientException.cs
- MonikerSyntaxException.cs
- DetailsViewRowCollection.cs
- SystemIPv6InterfaceProperties.cs
- RijndaelManagedTransform.cs
- MetadataSection.cs
- FaultPropagationQuery.cs
- FormsAuthenticationUser.cs
- ContentValidator.cs
- WindowsRebar.cs
- NonSerializedAttribute.cs
- BinaryEditor.cs
- DataGridBoolColumn.cs
- EnumConverter.cs
- ErrorHandlerModule.cs
- SspiWrapper.cs
- ParserOptions.cs
- XsltInput.cs
- SymDocumentType.cs
- SoapSchemaMember.cs
- DataGridViewIntLinkedList.cs
- StateMachineDesignerPaint.cs
- SynchronousChannel.cs
- TypeDescriptionProvider.cs
- prefixendpointaddressmessagefiltertable.cs
- XmlUtilWriter.cs
- DecimalConstantAttribute.cs
- SearchForVirtualItemEventArgs.cs
- WinEventWrap.cs
- DataContext.cs
- UpdatePanelControlTrigger.cs
- PixelFormat.cs
- TemplatePagerField.cs
- AccessibleObject.cs
- WindowsMenu.cs
- LinqDataSourceSelectEventArgs.cs
- LockedActivityGlyph.cs
- BitmapEffectGroup.cs
- Asn1IntegerConverter.cs
- PasswordBoxAutomationPeer.cs
- DataSourceCacheDurationConverter.cs
- ProvidersHelper.cs
- SystemIPInterfaceStatistics.cs
- DataControlLinkButton.cs
- ScrollBarRenderer.cs
- IndentedWriter.cs
- SamlDoNotCacheCondition.cs
- ArgIterator.cs
- AssemblyName.cs
- SystemUdpStatistics.cs
- LogicalExpr.cs
- ValidationRuleCollection.cs
- PackagingUtilities.cs
- DeviceSpecific.cs
- TransactionScope.cs
- EntityDataSourceView.cs
- OpCodes.cs
- TextBoxRenderer.cs
- CodeNamespace.cs
- UInt32Converter.cs
- DoubleStorage.cs
- QueryLifecycle.cs
- CatalogPartDesigner.cs
- DataGridTextBox.cs
- QueryReaderSettings.cs
- RangeBaseAutomationPeer.cs
- TargetControlTypeCache.cs
- SyndicationElementExtensionCollection.cs
- TextElementCollectionHelper.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- SiteMap.cs
- CellPartitioner.cs
- XPathAncestorIterator.cs
- CompositeActivityDesigner.cs
- IncrementalCompileAnalyzer.cs
- StyleXamlTreeBuilder.cs
- ResourceExpression.cs
- FileCodeGroup.cs
- KeyConverter.cs
- Utility.cs
- XmlSchemaException.cs
- AccessorTable.cs
- CodeAttributeArgumentCollection.cs
- TaiwanLunisolarCalendar.cs
- EdgeModeValidation.cs
- Int16AnimationUsingKeyFrames.cs
- ReadWriteSpinLock.cs
- TaskForm.cs