共用方式為


MobileServiceEvent<T>(String, T) Constructor

Definition

Initializes an instance of the MobileServiceEvent using the specified event name and payload.

public MobileServiceEvent (string name, T payload);
new Microsoft.WindowsAzure.MobileServices.Eventing.MobileServiceEvent<'T> : string * 'T -> Microsoft.WindowsAzure.MobileServices.Eventing.MobileServiceEvent<'T>
Public Sub New (name As String, payload As T)

Parameters

name
String

The event name.

payload
T

The payload associated with this event.

Applies to