Class SqlUploadProgressProvider

Represents Sql upload progress provider.

Inheritance
System.Object
SqlUploadProgressProvider
Implements
System.IDisposable
Namespace: Mediachase.FileUploader.Web
Assembly: Mediachase.FileUploader.dll
Version: 10.8.0
Syntax
public class SqlUploadProgressProvider : UploadProgressProvider, IDisposable

Constructors

SqlUploadProgressProvider()

Declaration
public SqlUploadProgressProvider()

Properties

ConnectionString

Gets or sets the connection string.

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

The connection string.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public void Dispose()

GetInfo(Guid)

Gets the upload progress information by ProgressUid.

Declaration
public override UploadProgressInfo GetInfo(Guid ProgressUid)
Parameters
Type Name Description
System.Guid ProgressUid

The progress uid.

Returns
Type Description
UploadProgressInfo

UploadProgressInfo if progress info is exist, otherwise null.

Overrides

Initialize(String, NameValueCollection)

Initializes the provider.

Declaration
public override void Initialize(string name, NameValueCollection config)
Parameters
Type Name Description
System.String name

The friendly name of the provider.

System.Collections.Specialized.NameValueCollection config

A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.

Overrides
Exceptions
Type Condition
System.ArgumentNullException

The name of the provider is null.

System.InvalidOperationException

An attempt is made to call System.Configuration.Provider.ProviderBase.Initialize(System.String,System.Collections.Specialized.NameValueCollection) on a provider after the provider has already been initialized.

System.ArgumentException

The name of the provider has a length of zero.

Update(UploadProgressInfo)

Updates the upload progress information.

Declaration
public override void Update(UploadProgressInfo info)
Parameters
Type Name Description
UploadProgressInfo info

The info.

Overrides

Implements

System.IDisposable