| INotificationRelaySend Method |
Send the specified notification to the specified address
Namespace:
SanteDB.Core.Notifications
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax Guid Send(
string[] toAddress,
string subject,
string body,
DateTimeOffset? scheduleDelivery = null,
bool ccAdmins = false,
params NotificationAttachment[] attachments
)
Function Send (
toAddress As String(),
subject As String,
body As String,
Optional scheduleDelivery As DateTimeOffset? = Nothing,
Optional ccAdmins As Boolean = false,
ParamArray attachments As NotificationAttachment()
) As Guid
Guid Send(
array<String^>^ toAddress,
String^ subject,
String^ body,
Nullable<DateTimeOffset> scheduleDelivery = nullptr,
bool ccAdmins = false,
... array<NotificationAttachment^>^ attachments
)
abstract Send :
toAddress : string[] *
subject : string *
body : string *
?scheduleDelivery : Nullable<DateTimeOffset> *
?ccAdmins : bool *
attachments : NotificationAttachment[]
(* Defaults:
let _scheduleDelivery = defaultArg scheduleDelivery null
let _ccAdmins = defaultArg ccAdmins false
*)
-> Guid
Parameters
- toAddress
- Type: SystemString
The address where the notification is to be sent - subject
- Type: SystemString
The subject of the message - body
- Type: SystemString
The body of the message - scheduleDelivery (Optional)
- Type: SystemNullableDateTimeOffset
The time when the message should be sent (for future delivery) - ccAdmins (Optional)
- Type: SystemBoolean
When true, administrators should be notified as well - attachments
- Type: SanteDB.Core.NotificationsNotificationAttachment
Attachment file and content
Return Value
Type:
Guid[Missing <returns> documentation for "M:SanteDB.Core.Notifications.INotificationRelay.Send(System.String[],System.String,System.String,System.Nullable{System.DateTimeOffset},System.Boolean,SanteDB.Core.Notifications.NotificationAttachment[])"]
See Also