Méthode | Description | |
---|---|---|
AddMessage ( string Receiver, string Content, string Subject, string FromType, System.Guid FkGUID, MessageType Type = MessageType.SMS ) : int |
新增一条消息提醒
|
|
GetMessageById ( System.Guid MessageGuid ) : |
通过消息GUID获取消息数据
|
|
RemoveMessage ( System.Guid MessageGuid, string remark ) : void |
将消息移到发送历史表
|
|
SendMessage ( System.Guid MessageGuid ) : bool |
发送消息
|
|
SendMessage ( |
发送消息
|
public static AddMessage ( string Receiver, string Content, string Subject, string FromType, System.Guid FkGUID, MessageType Type = MessageType.SMS ) : int | ||
Receiver | string | 接收人(支持多个接收者逗号分隔) |
Content | string | 内容 |
Subject | string | 邮件主题 |
FromType | string | 消息来源类型 |
FkGUID | System.Guid | 消息来源GUID |
Type | MessageType | 消息类型 |
Résultat | int |
public static GetMessageById ( System.Guid MessageGuid ) : |
||
MessageGuid | System.Guid | 消息GUID |
Résultat |
public static RemoveMessage ( System.Guid MessageGuid, string remark ) : void | ||
MessageGuid | System.Guid | 消息GUID |
remark | string | |
Résultat | void |
public static SendMessage ( System.Guid MessageGuid ) : bool | ||
MessageGuid | System.Guid | 消息GUID |
Résultat | bool |
public static SendMessage ( |
||
message | 消息 | |
count | int | |
Résultat | bool |