EventGridModelFactory.AcsSmsReceivedEventData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AcsSmsReceivedEventData.
public static Azure.Messaging.EventGrid.SystemEvents.AcsSmsReceivedEventData AcsSmsReceivedEventData (string messageId = default, string from = default, string to = default, string message = default, DateTimeOffset? receivedTimestamp = default);
static member AcsSmsReceivedEventData : string * string * string * string * Nullable<DateTimeOffset> -> Azure.Messaging.EventGrid.SystemEvents.AcsSmsReceivedEventData
Public Shared Function AcsSmsReceivedEventData (Optional messageId As String = Nothing, Optional from As String = Nothing, Optional to As String = Nothing, Optional message As String = Nothing, Optional receivedTimestamp As Nullable(Of DateTimeOffset) = Nothing) As AcsSmsReceivedEventData
Parameters
- messageId
- String
The identity of the SMS message.
- from
- String
The identity of SMS message sender.
- to
- String
The identity of SMS message receiver.
- message
- String
The SMS content.
- receivedTimestamp
- Nullable<DateTimeOffset>
The time at which the SMS was received.
Returns
A new AcsSmsReceivedEventData instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET