Self.BeginSetPhone Method
Starts to set a phone from the user. Phone will be published for other people if the publish flag is set.
Namespace: Microsoft.Lync.Model
Assembly: Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)
Syntax
'Declaration
Public Function BeginSetPhone ( _
phoneType As ContactEndpointType, _
phoneUri As String, _
toBePublished As Boolean, _
selfCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim instance As Self
Dim phoneType As ContactEndpointType
Dim phoneUri As String
Dim toBePublished As Boolean
Dim selfCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginSetPhone(phoneType, _
phoneUri, toBePublished, selfCallback, _
state)
public IAsyncResult BeginSetPhone(
ContactEndpointType phoneType,
string phoneUri,
bool toBePublished,
AsyncCallback selfCallback,
Object state
)
Parameters
- phoneType
Type: Microsoft.Lync.Model.ContactEndpointType
- phoneUri
Type: System.String
- toBePublished
Type: System.Boolean
- selfCallback
Type: System.AsyncCallback
- state
Type: System.Object
Return Value
Type: System.IAsyncResult