DotMSN |

# NSMessageHandler.AddNewContact Method

Creates a new contact and sends a request to the server to add this contact to the forward and allowed list.

[Visual Basic]
Overridable Public Sub AddNewContact( _
ByVal account As String _
)
[C#]
public virtual void AddNewContact(
string account
);

#### Parameters

account
  The principal's passport account. Usually an e-mail address.

#### Remarks

A server error will be received when the account is for some reason invalid. See also the ServerErrorReceived event.

#### See Also

NSMessageHandler Class | XihSolutions.DotMSN Namespace