public static Task<Result> FileMoveAsync<TRpcActor>(
this TRpcActor rpcActor,
string path,
string targetPath,
Metadata metadata = null,
int millisecondsTimeout = 5000,
CancellationToken token = default
)
where TRpcActor : IDmtpRemoteAccessActor
<ExtensionAttribute>
Public Shared Function FileMoveAsync(Of TRpcActor As IDmtpRemoteAccessActor) (
rpcActor As TRpcActor,
path As String,
targetPath As String,
Optional metadata As Metadata = Nothing,
Optional millisecondsTimeout As Integer = 5000,
Optional token As CancellationToken = Nothing
) As Task(Of Result)
[<ExtensionAttribute>]
static member FileMoveAsync :
rpcActor : 'TRpcActor *
path : string *
targetPath : string *
?metadata : Metadata *
?millisecondsTimeout : int *
?token : CancellationToken
(* Defaults:
let _metadata = defaultArg metadata null
let _millisecondsTimeout = defaultArg millisecondsTimeout 5000
let _token = defaultArg token new CancellationToken()
*)
-> Task<Result> when 'TRpcActor : IDmtpRemoteAccessActor
[缺少 "M:TouchSocket.Dmtp.RemoteAccess.DmtpRemoteAccessExtension.FileMoveAsync``1(``0,System.String,System.String,TouchSocket.Core.Metadata,System.Int32,System.Threading.CancellationToken)" 的 <param name="rpcActor"/> 文档]
[缺少 "M:TouchSocket.Dmtp.RemoteAccess.DmtpRemoteAccessExtension.FileMoveAsync``1(``0,System.String,System.String,TouchSocket.Core.Metadata,System.Int32,System.Threading.CancellationToken)" 的 <param name="path"/> 文档]
[缺少 "M:TouchSocket.Dmtp.RemoteAccess.DmtpRemoteAccessExtension.FileMoveAsync``1(``0,System.String,System.String,TouchSocket.Core.Metadata,System.Int32,System.Threading.CancellationToken)" 的 <param name="targetPath"/> 文档]
[缺少 "M:TouchSocket.Dmtp.RemoteAccess.DmtpRemoteAccessExtension.FileMoveAsync``1(``0,System.String,System.String,TouchSocket.Core.Metadata,System.Int32,System.Threading.CancellationToken)" 的 <param name="metadata"/> 文档]
[缺少 "M:TouchSocket.Dmtp.RemoteAccess.DmtpRemoteAccessExtension.FileMoveAsync``1(``0,System.String,System.String,TouchSocket.Core.Metadata,System.Int32,System.Threading.CancellationToken)" 的 <param name="millisecondsTimeout"/> 文档]
[缺少 "M:TouchSocket.Dmtp.RemoteAccess.DmtpRemoteAccessExtension.FileMoveAsync``1(``0,System.String,System.String,TouchSocket.Core.Metadata,System.Int32,System.Threading.CancellationToken)" 的 <param name="token"/> 文档]
[缺少 "M:TouchSocket.Dmtp.RemoteAccess.DmtpRemoteAccessExtension.FileMoveAsync``1(``0,System.String,System.String,TouchSocket.Core.Metadata,System.Int32,System.Threading.CancellationToken)" 的 <typeparam name="TRpcActor"/> 文档]
[缺少 "M:TouchSocket.Dmtp.RemoteAccess.DmtpRemoteAccessExtension.FileMoveAsync``1(``0,System.String,System.String,TouchSocket.Core.Metadata,System.Int32,System.Threading.CancellationToken)" 的 <returns> 文档]