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
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)

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(String userName)public ContactInstantMessageField CreateInstantMessage(String userName)Public Function CreateInstantMessage(userName As String) As ContactInstantMessageField
Parameters
userName
System.String System.String System.String

The user name of the instant messaging account.

Returns

An instant messaging field that you can add to a Contact object.

Attributes

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(String userName, ContactFieldCategory category)public ContactInstantMessageField CreateInstantMessage(String userName, ContactFieldCategory category)Public Function CreateInstantMessage(userName As String, category As ContactFieldCategory) As ContactInstantMessageField
Parameters
userName
System.String System.String System.String

The user name for the instant messaging account.

category
ContactFieldCategory ContactFieldCategory ContactFieldCategory

The category the field belongs to.

Returns

An instant messaging field that you can add to a Contact object.

Attributes

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(String userName, ContactFieldCategory category, String service, 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
Parameters
userName
System.String System.String System.String

The user name for the instant messaging account.

category
ContactFieldCategory ContactFieldCategory ContactFieldCategory

The category the field belongs to.

service
System.String System.String System.String

The name of the instant messaging service.

displayText
System.String System.String System.String

The text to display to prompt an instant messaging conversation.

verb
Uri Uri Uri

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

Returns

An instant messaging field that you can add to a Contact object.

Attributes