The JobNotification type exposes the following members.
Methods
Name | Description | |
---|---|---|
IsValidEmailAddress |
Determines whether or not an input string is a valid SMTP email address based on its match
to a regular expression. You can see the regular expression in the class property
EmailAddressRegexPattern.
| |
ParseNotificationString |
Parse an input string of notification information and return a list of JobNotification.
An input string can be a comma-separated list of email addresses, like this:
"foo@microsoft.com, bar@microsoft.com, Foo.Bar@microsoft.com".
All these addresses will be return in a list comprising a single JobNotification
with those addresses.
In the future, we hope to support a format like:
"bar@microsoft.com, sms:555-1234, foo@microsoft.com, sms: 555-9876"
So then the returned list will have two JobNotification objects, one for Email
and another one for SMS.
| |
ToString |
Returns a string representation of this job notification.
(Overrides ObjectToString()()()().) |