/// <summary> /// Makes a request to a remote media server to export one of its binary files /// to another location. /// </summary> /// <param name="exportThis"> /// The resource (of this media object) that should be exported. /// </param> /// <param name="sendHere"> /// The uri where the binary should be sent. /// </param> /// <param name="Tag"> /// Miscellaneous, user-provided object for tracking this /// asynchronous call. Can be used as a means to pass a /// user-defined "state object" at invoke-time so that /// the executed callback during results-processing can be /// aware of the component's state at the time of the call. /// </param> /// <param name="callback">the callback to execute when results become available</param> /// <exception cref="Error_CannotGetParent"> /// Thrown if the parent of this object is null. /// </exception> public void RequestExportResource(ICpResource exportThis, System.Uri sendHere, object Tag, CpMediaDelegates.Delegate_ResultExportResource callback) { // calls parent's implementation of method CpMediaContainer parent = (CpMediaContainer)this.Parent; parent.RequestExportResource(exportThis, sendHere, Tag, callback); }