共用方式為


DkmFileTransferStream.Close Method

Definition

Closes the file transfer object. This will close the underlying file handle if it is not already closed because all the bytes have been transferred. This method must be called by the component which created the file file transfer object.

DkmFileTransferStream objects are automatically closed when their associated DkmTransportConnection object is closed.

This method may only be called by the component which created the object.

public:
 void Close();
public:
 void Close();
void Close();
public void Close ();
member this.Close : unit -> unit
Public Sub Close ()

Applies to