I​Contact​Instant​Message​Field​Factory I​Contact​Instant​Message​Field​Factory I​Contact​Instant​Message​Field​Factory I​Contact​Instant​Message​Field​Factory Interface

Definition

Note

IContactInstantMessageFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount.

Creates fields with information about a contact's instant messaging accounts.

public : interface IContactInstantMessageFieldFactorypublic interface IContactInstantMessageFieldFactoryPublic Interface IContactInstantMessageFieldFactory// You can use this interface in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

CreateInstantMessage(String) CreateInstantMessage(String) CreateInstantMessage(String) CreateInstantMessage(String)

Note

IContactInstantMessageFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount.

Creates a field containing information about a contact's instant messaging account.

public : ContactInstantMessageField CreateInstantMessage(PlatForm::String userName)public ContactInstantMessageField CreateInstantMessage(String userName)Public Function CreateInstantMessage(userName As String) As ContactInstantMessageField// You can use this method in JavaScript.
Parameters
userName
PlatForm::String String String String

The user name of the instant messaging account.

Returns
See Also

CreateInstantMessage(String, ContactFieldCategory) CreateInstantMessage(String, ContactFieldCategory) CreateInstantMessage(String, ContactFieldCategory) CreateInstantMessage(String, ContactFieldCategory)

Note

IContactInstantMessageFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount.

Creates a field containing information about a contact's instant messaging account.

public : ContactInstantMessageField CreateInstantMessage(PlatForm::String userName, ContactFieldCategory category)public ContactInstantMessageField CreateInstantMessage(String userName, ContactFieldCategory category)Public Function CreateInstantMessage(userName As String, category As ContactFieldCategory) As ContactInstantMessageField// You can use this method in JavaScript.
Parameters
userName
PlatForm::String String String String

The user name for the instant messaging account.

Returns
See Also

CreateInstantMessage(String, ContactFieldCategory, String, String, Uri) CreateInstantMessage(String, ContactFieldCategory, String, String, Uri) CreateInstantMessage(String, ContactFieldCategory, String, String, Uri) CreateInstantMessage(String, ContactFieldCategory, String, String, Uri)

Note

IContactInstantMessageFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount.

Creates a field containing information about a contact's instant messaging account.

public : ContactInstantMessageField CreateInstantMessage(PlatForm::String userName, ContactFieldCategory category, PlatForm::String service, PlatForm::String displayText, Uri verb)public ContactInstantMessageField CreateInstantMessage(String userName, ContactFieldCategory category, String service, String displayText, Uri verb)Public Function CreateInstantMessage(userName As String, category As ContactFieldCategory, service As String, displayText As String, verb As Uri) As ContactInstantMessageField// You can use this method in JavaScript.
Parameters
userName
PlatForm::String String String String

The user name for the instant messaging account.

service
PlatForm::String String String String

The name of the instant messaging service.

displayText
PlatForm::String String String String

The text to display to prompt an instant messaging conversation.

verb
Uri Uri Uri Uri

The Uniform Resource Identifier (URI) that starts an instant messaging conversation.

Returns
See Also