ClientSession.SetBlockedUserAsync Method
NOTE: This member is now obsolete. Use Client.Session.SetBlockedUserAsync instead.
<ID("SetBlockedUserAsync", (int)e.SetBlockedUserAsync)> _
<EditorBrowsable(EditorBrowsableState.Advanced)> _
<Obsolete("Use Client.Session.SetBlockedUserAsync instead.")> _
Public Function SetBlockedUserAsync( _
ByVal username As String, _
ByVal flag As Boolean _
) As Task(Of Boolean)
This language is not supported or no code example is available.
Parameters
- username
- string
User name
- flag
- bool
Flag indicating for blocking (true) or not (false)
Return Value
Task<bool>Flag indicating success (true) or fail (false)