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
- RightNameExpirationInfoPair.cs
- FloaterBaseParaClient.cs
- EncryptedKeyIdentifierClause.cs
- ListBindingConverter.cs
- OleDbPropertySetGuid.cs
- MenuItemCollection.cs
- QilReference.cs
- XXXOnTypeBuilderInstantiation.cs
- ObjectCloneHelper.cs
- ClientApiGenerator.cs
- SafeEventHandle.cs
- SecurityElement.cs
- StreamGeometry.cs
- TextBoxView.cs
- DataTableMapping.cs
- DesignerLabelAdapter.cs
- StructuredType.cs
- BindingBase.cs
- SpecularMaterial.cs
- MDIControlStrip.cs
- XmlSigningNodeWriter.cs
- VectorAnimationUsingKeyFrames.cs
- SystemResourceHost.cs
- selecteditemcollection.cs
- RootBuilder.cs
- StringFunctions.cs
- ObfuscateAssemblyAttribute.cs
- EntityViewGenerationAttribute.cs
- TextViewBase.cs
- TextMetrics.cs
- QilInvokeLateBound.cs
- InfoCardHelper.cs
- MultiView.cs
- DataGrid.cs
- Enum.cs
- DataGridHeaderBorder.cs
- FeatureAttribute.cs
- MatchingStyle.cs
- OutputCacheSection.cs
- RelationshipFixer.cs
- HtmlGenericControl.cs
- CategoryGridEntry.cs
- IList.cs
- TypeDescriptionProviderAttribute.cs
- EventProviderTraceListener.cs
- TreeNodeEventArgs.cs
- log.cs
- ByteStreamGeometryContext.cs
- dataobject.cs
- HttpCapabilitiesEvaluator.cs
- StorageMappingItemCollection.cs
- Choices.cs
- IpcClientManager.cs
- Activator.cs
- VerticalConnector.xaml.cs
- LocationSectionRecord.cs
- infer.cs
- JoinCqlBlock.cs
- BinaryConverter.cs
- XmlAutoDetectWriter.cs
- DecoderNLS.cs
- ScrollPatternIdentifiers.cs
- AttachedPropertyInfo.cs
- PageAsyncTaskManager.cs
- ReaderOutput.cs
- HttpRuntime.cs
- AttributeQuery.cs
- ShaderRenderModeValidation.cs
- TableLayoutColumnStyleCollection.cs
- AutomationPatternInfo.cs
- SortedDictionary.cs
- EventTrigger.cs
- DataControlFieldCollection.cs
- MenuItemStyle.cs
- DataSourceXmlTextReader.cs
- MetadataItemSerializer.cs
- SHA256Managed.cs
- XmlnsCompatibleWithAttribute.cs
- HttpListenerPrefixCollection.cs
- SspiNegotiationTokenAuthenticatorState.cs
- _SslStream.cs
- PropertyGeneratedEventArgs.cs
- XamlTypeMapper.cs
- RoutingUtilities.cs
- SafeTimerHandle.cs
- ResourceReader.cs
- OracleTransaction.cs
- LoginView.cs
- DataRelation.cs
- MatrixUtil.cs
- BinaryObjectReader.cs
- SqlClientFactory.cs
- ADMembershipProvider.cs
- FontWeight.cs
- _NegoState.cs
- TiffBitmapEncoder.cs
- TextParagraphCache.cs
- CalendarKeyboardHelper.cs
- System.Data_BID.cs
- ListViewDeleteEventArgs.cs