 | RemInboxNewMessage Method |
Paperwork .Net Kütüphanesi
Sistemde kayıtlı bir kullanıcıya Mesaj atma. Verilen değerlere göre kullanıcıya mesaj atar.
Namespace:
Paperwork.Connect
Assembly:
Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntaxpublic a_GenericResult NewMessage(
string toWho,
string message,
int priority
)
Parameters
- toWho
- Type: SystemString
Mesaj atılacak kişi(login_name) - message
- Type: SystemString
Atılacak mesaj - priority
- Type: SystemInt32
Öncelik 1- 65535 (minimum 1)
Return Value
Type:
a_GenericResult Verilen değerlere göre kullanıcıya mesaj atar.
Return Value
Type:
a_GenericResulta_GenericResult nesesi içinde , aErrorCode=0 ise işlem başarılıdır. Aksi taktirde Result ve Message alanları kontrol ediniz.
Examplespublic void NewMessage()
{
string toWho = "username";
string message = "Deneme";
int priority = 1;
a_GenericResult retval = p.rInbox.NewMessage(toWho, message, priority);
if (retval.aErrorCode != 0)
throw new Exception(retval.Message);
else
Console.WriteLine(retval.ErrorCode);
Console.ReadLine();
}
See Also