FileTransferProxy Class

Relativity Services API

Note: This API is now obsolete.

Performs operations on file fields in Relativity, including downloading, clearing, and uploading files.
Inheritance Hierarchy

System.Object
  kCura.Relativity.Client.FileTransferProxy

Namespace:  kCura.Relativity.Client
Assembly:  kCura.Relativity.Client (in kCura.Relativity.Client.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

[ObsoleteAttribute("This class is deprecated.  Refer to the documentation for the RSAPIClient to find similar File Transfer methods.")]
public sealed class FileTransferProxy : IDisposable, 
	ICommunicationObject

The FileTransferProxy type exposes the following members.

Constructors

  NameDescription
Public methodFileTransferProxy(String) Obsolete.
Initializes a new instance of the FileTransferProxy class with a server name.
Public methodFileTransferProxy(Uri) Obsolete.
Initializes a new instance of the FileTransferProxy class with a URI specifying the location of the FileTransfer service.
Public methodFileTransferProxy(String, EndpointType) Obsolete.
Initializes a new instance of the FileTransferProxy class with a server name, and an EndpointType value for the connection.
Public methodFileTransferProxy(String, FileTransferSettings) Obsolete.
Initializes a new instance of the FileTransferProxy class with a server name, and configuration values used to override client-side settings.
Public methodFileTransferProxy(String, IEnumerable<EndpointType>) Obsolete.
Initializes a new instance of the FileTransferProxy class with a server name and a collection of EndpointType values for the connection.
Public methodFileTransferProxy(Uri, EndpointType) Obsolete.
Initializes a new instance of the FileTransferProxy class with a URI specifying the location of the FileTransfer service, and an EndpointType value for the connection.
Public methodFileTransferProxy(Uri, FileTransferSettings) Obsolete.
Initializes a new instance of the FileTransferProxy class with a URI specifying the location of the FileTransfer service, and configuration values used to override client-side settings.
Public methodFileTransferProxy(Uri, IEnumerable<EndpointType>) Obsolete.
Initializes a new instance of the FileTransferProxy class with a URI specifying the location of the FileTransfer service and a collection of EndpointType values for the connection.
Public methodFileTransferProxy(String, EndpointType, FileTransferSettings) Obsolete.
Initializes a new instance of the FileTransferProxy class with a server name, an EndpointType value for the connection, and configuration values used to override client-side settings.
Public methodFileTransferProxy(String, IEnumerable<EndpointType>, FileTransferSettings) Obsolete.
Initializes a new instance of the FileTransferProxy class with a server name, a collection of EndpointType values for the connection, and configuration values used to override client-side settings.
Public methodFileTransferProxy(Uri, EndpointType, FileTransferSettings) Obsolete.
Initializes a new instance of the FileTransferProxy class with a URI specifying the location of the FileTransfer service, an EndpointType value for the connection, and configuration values used to override client-side settings.
Public methodFileTransferProxy(Uri, IEnumerable<EndpointType>, FileTransferSettings) Obsolete.
Initializes a new instance of the FileTransferProxy class with a URI specifying the location of the FileTransfer service a collection of EndpointType values for the connection, and configuration values used to override client-side settings.
Top
Properties

  NameDescription
Public propertyActiveEndpointType Obsolete.
Gets the EndpointType used to make a connection.
Public propertyDefaultServiceAPIPath
Gets the relative portion of the URI that is used in combination with the serverName to construct a metadata endpoint address. This property reflects the default installation of the Relativity Services API.
Public propertyEndpointTypeExceptions
Retrieves a collection that contains more detailed information about what failed during proxy construction. The data structure represents the following: (scheme) -> (EndpointType, Exception).
Public propertyMetadataEndpoint
Gets the URI of the endpoint used to fetch the metadata.
Public propertyState
Gets the current state of the communication-oriented object.
Top
Methods

  NameDescription
Public methodAbort
Causes an immediate transition from the current state into the closed state.
Public methodBeginClose(AsyncCallback, Object)
Begins an asynchronous operation to close the communication object.
Public methodBeginClose(TimeSpan, AsyncCallback, Object)
Begins an asynchronous operation to close the communication object with a specified timeout.
Public methodBeginOpen(AsyncCallback, Object)
Begins an asynchronous operation to open a communication object.
Public methodBeginOpen(TimeSpan, AsyncCallback, Object)
Begins an asynchronous operation to open a communication object within a specified interval of time.
Public methodClear
Clears the value of a file field in Relativity.
Public methodClose()
Causes a transition from the current state into the closed state.
Public methodClose(TimeSpan)
Causes a transition from the current state into the closed state.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodDownload(FileRequest)
Downloads the contents of a Relativity file field as a Stream object.
Public methodDownload(FileRequest, String)
Downloads the contents of a Relativity file field to disk.
Public methodEndClose
Completes an asynchronous operation to close a communication object.
Public methodEndOpen
Completes an asynchronous operation to open a communication object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetFileFieldDownloadURL
Constructs a URL for downloading a file.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOpen()
Causes a communication object to transition from the created state into the opened state.
Public methodOpen(TimeSpan)
Causes a communication object to transition from the created state into the opened state within a specified interval of time.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpload
Populates the contents of a file field in Relativity.
Top
Events

  NameDescription
Public eventCancel
Occurs when the cancellation of an upload or download operation succeeds.
Public eventClosed
Occurs when the communication object completes its transition from the closing state into the closed state.
Public eventClosing
Occurs when the communication object first enters the closing state.
Public eventDownloadComplete
Occurs when a download operation succeeds.
Public eventFailure
Occurs when a download or upload file transfer encounters an error.
Public eventFaulted
Occurs when the communication object first enters the faulted state.
Public eventOpened
Occurs when the communication object completes its transition from the opening state into the opened state.
Public eventOpening
Occurs when the communication object first enters the opening state.
Public eventProgress
Occurs when the percentage completed for an upload or download operation changes.
Public eventUploadComplete
Occurs when an upload operation succeeds.
Top
Remarks

The FileTransferProxy class is provided in the kCura.Relativity.Client.dll. It is used for populating, clearing, and reading from a file field. The process for constructing an instance of this class is the same as for the ArtifactManagerProxy class.
See Also

Reference