Initializes a new instance of the ChatRoomFileDownloadJob class.

Namespace:  Microsoft.Rtc.Collaboration.GroupChat
Assembly:  Microsoft.Rtc.Collaboration.GroupChat(in Microsoft.Rtc.Collaboration.GroupChat.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
New ( _
	
link 
As 

MessagePartFileDownloadLink, _
	
destinationPath 
As 
String _
)
Visual Basic (Usage)
Dim 
link 
As 

MessagePartFileDownloadLink
Dim 
destinationPath 
As 
String

Dim 
instance 
As New 

ChatRoomFileDownloadJob(
link, 
destinationPath)
C#
public 
ChatRoomFileDownloadJob(
	

MessagePartFileDownloadLink 
link,
	
string 
destinationPath
)

Parameters

link
Type: Microsoft.Rtc.Collaboration.GroupChat . . :: . . MessagePartFileDownloadLink

The file download link, obtained from FormattedMessageParts .

destinationPath
Type: System . . :: . . String

The destination path.

See Also