Search Results for

    Show / Hide Table of Contents

    Class HttpMediaContent

    Class for defining media content that should be delivered as http

    Inheritance
    System.Object
    MediaContentBase
    MediaContent
    HttpMediaContent
    BinaryHttpMediaContent
    Implements
    System.IDisposable
    Inherited Members
    MediaContent.Dispose()
    MediaContent.Dispose(Boolean)
    MediaContent.Disposed
    MediaContentBase.CopyFromMediaContentBase(MediaContentBase)
    MediaContentBase.ToString()
    MediaContentBase.Equals(MediaContentBase)
    MediaContentBase.Equals(Object)
    MediaContentBase.GetHashCode()
    MediaContentBase.MediaContentReferenceId
    MediaContentBase.VersionId
    MediaContentBase.Name
    MediaContentBase.MediaFormatId
    MediaContentBase.MediaStorageTypeId
    MediaContentBase.MediaStorageId
    MediaContentBase.MediaStorageValue
    MediaContentBase.MediaKeyAndName
    MediaContentBase.ContentType
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: ImageVault.Core.Common.Data
    Assembly: ImageVault.Core.dll
    Syntax
    public abstract class HttpMediaContent : MediaContent, IDisposable

    Constructors

    HttpMediaContent()

    default constructor

    Declaration
    protected HttpMediaContent()

    HttpMediaContent(HttpMediaContent)

    Copy constructor

    Declaration
    protected HttpMediaContent(HttpMediaContent httpMediaContent)
    Parameters
    Type Name Description
    HttpMediaContent httpMediaContent

    HttpMediaContent(DbMediaContentReference)

    Declaration
    protected HttpMediaContent(DbMediaContentReference reference)
    Parameters
    Type Name Description
    DbMediaContentReference reference

    Properties

    CacheControl

    Defines the cache control of the content.

    Declaration
    public string CacheControl { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    If no value is present, default is public. Common valid values are private, public, no-cache. For more information see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9

    CacheTimeout

    Get/Sets the CacheTimeout of the StreamedBinaryMediaContent

    Declaration
    public TimeSpan? CacheTimeout { get; set; }
    Property Value
    Type Description
    System.Nullable<System.TimeSpan>

    ETag

    Get/Sets the ETag of the MediaContent

    Declaration
    public string ETag { get; set; }
    Property Value
    Type Description
    System.String

    LastModified

    Get/Sets the LastModified of the MediaContent

    Declaration
    public DateTime LastModified { get; set; }
    Property Value
    Type Description
    System.DateTime

    Implements

    System.IDisposable
    In This Article
    Back to top (c) Meriworks 2002-2022