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
- SizeValueSerializer.cs
- Vertex.cs
- GrammarBuilder.cs
- PathData.cs
- Translator.cs
- GrammarBuilderWildcard.cs
- TemplateControlParser.cs
- SamlAuthorizationDecisionStatement.cs
- XmlTextReaderImpl.cs
- IdnMapping.cs
- EventToken.cs
- PauseStoryboard.cs
- AddingNewEventArgs.cs
- TextWriter.cs
- PictureBoxDesigner.cs
- ProviderSettings.cs
- XamlClipboardData.cs
- MobileFormsAuthentication.cs
- QilTargetType.cs
- PlaceHolder.cs
- Listbox.cs
- WebHostScriptMappingsInstallComponent.cs
- CoTaskMemUnicodeSafeHandle.cs
- TerminateSequenceResponse.cs
- EdmComplexTypeAttribute.cs
- XamlToRtfParser.cs
- OleDragDropHandler.cs
- WebService.cs
- XsdBuilder.cs
- DecoderNLS.cs
- ModifiableIteratorCollection.cs
- InvokePatternIdentifiers.cs
- ZipIOBlockManager.cs
- _FtpDataStream.cs
- SRGSCompiler.cs
- DataDocumentXPathNavigator.cs
- FactoryGenerator.cs
- PreservationFileWriter.cs
- Preprocessor.cs
- AssemblyInfo.cs
- HttpListenerPrefixCollection.cs
- EntityDataSourceDataSelectionPanel.designer.cs
- XmlStreamStore.cs
- MiniConstructorInfo.cs
- TrackBar.cs
- BlobPersonalizationState.cs
- Trace.cs
- Blend.cs
- HelpKeywordAttribute.cs
- CopyOnWriteList.cs
- RijndaelManaged.cs
- ToolBarButtonClickEvent.cs
- AppAction.cs
- SqlConnection.cs
- EventLogPermission.cs
- DescendentsWalker.cs
- SqlConnectionHelper.cs
- ClientTargetSection.cs
- TransactionTable.cs
- XamlPointCollectionSerializer.cs
- AsyncInvokeOperation.cs
- LogEntryUtils.cs
- BooleanFacetDescriptionElement.cs
- ConfigurationStrings.cs
- SoapEnvelopeProcessingElement.cs
- Control.cs
- ScaleTransform.cs
- GeometryHitTestResult.cs
- DesignerSerializationOptionsAttribute.cs
- SetStoryboardSpeedRatio.cs
- SmiEventSink_DeferedProcessing.cs
- ParameterReplacerVisitor.cs
- IndexedEnumerable.cs
- SystemColorTracker.cs
- ArgumentsParser.cs
- RegexCharClass.cs
- DefaultPropertiesToSend.cs
- RtfControls.cs
- FromReply.cs
- SelectionProviderWrapper.cs
- RemoteWebConfigurationHostServer.cs
- DefaultTextStoreTextComposition.cs
- TcpProcessProtocolHandler.cs
- ResizingMessageFilter.cs
- EntitySet.cs
- FixedSchema.cs
- WpfWebRequestHelper.cs
- DetailsViewPageEventArgs.cs
- PersonalizationProviderHelper.cs
- MetabaseReader.cs
- SmiContextFactory.cs
- ReadOnlyCollectionBase.cs
- SvcMapFileLoader.cs
- TypeReference.cs
- XmlJsonWriter.cs
- ProviderSettings.cs
- SqlServices.cs
- XmlSchemaDocumentation.cs
- SortedDictionary.cs
- ItemCheckEvent.cs