PowerTCP FTP for .NET
Marshal(CopyResult,String,Object) Method



The CopyResult to be marshaled.
Any message to be marshaled.
Any object to be marshaled.
Marshals a CopyResult to the UI thread.
Syntax
Public Overloads Sub Marshal( _
   ByVal result As CopyResult, _
   ByVal message As String, _
   ByVal state As Object _
) 
Dim instance As Ftp
Dim result As CopyResult
Dim message As String
Dim state As Object
 
instance.Marshal(result, message, state)
public void Marshal( 
   CopyResult result,
   string message,
   object state
)
public:
void Marshal( 
   CopyResult^ result,
   String^ message,
   Object^ state
) 

Parameters

result
The CopyResult to be marshaled.
message
Any message to be marshaled.
state
Any object to be marshaled.
Remarks

This method is used to marshal CopyResult from a worker thread to the UI thread for typical display purposes. It calls the OnCopy method, which raises the Copy event.

See the SynchronizingObject property for information on updating UI controls in your event handler. Internally, SynchronizingObject.BeginInvoke is used to marshal data when the SynchronizingObject is not null, and Delegate.DynamicInvoke is used when SynchronizingObject is null. This method is provided for convenience; the developer may of course use alternative methods for marshaling data if more specialized use is required.

See Also

Reference

Ftp Class
Ftp Members
Overload List


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic