你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CommunicationMessagesModelFactory.LinkContent(String, Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of LinkContent.
public static Azure.Communication.Messages.LinkContent LinkContent(string title = default, Uri uri = default);
static member LinkContent : string * Uri -> Azure.Communication.Messages.LinkContent
Public Shared Function LinkContent (Optional title As String = Nothing, Optional uri As Uri = Nothing) As LinkContent
Parameters
- title
- String
Title of the url content.
- uri
- Uri
The url in the content.
Returns
A new LinkContent instance for mocking.