Class EnqueueMessage
Sends a message to a client's service bus queue
Inheritance
System.Object
EnqueueMessage
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:AzureFunctionsForSharePoint.Core
Assembly:AzureFunctionsForSharePoint.Core.dll
Syntax
public class EnqueueMessage
Methods
| Improve this Doc View SourceSendQueueMessage(QueuedSharePointEvent)
Send the event data as serialized json to the service bus queue specified in the client config
Declaration
public static void SendQueueMessage(QueuedSharePointEvent eventData)
Parameters
Type | Name | Description |
---|---|---|
QueuedSharePointEvent | eventData | The message to send |
SendQueueMessage(Object, String, String, Int32)
General purpose method for sending arbitrary messages to a service bus queue
Declaration
public static void SendQueueMessage(object eventData, string serviceBusConnectionString, string notificationQueueName, int delaySeconds = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Object | eventData | The message to send |
System.String | serviceBusConnectionString | The message to send |
System.String | notificationQueueName | The message to send |
System.Int32 | delaySeconds | The message to send |