Click or drag to resize
ChatServiceBaseGetChatResponseTData Method (ChatResponseStatusEnum, String)
Builds chat response with code set to statusCode, message set to statusMessage and data set to default(TData).

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax
C#
protected ChatGeneralResponse<TData> GetChatResponse<TData>(
	ChatResponseStatusEnum statusCode,
	string statusMessage
)

Parameters

statusCode
Type: CMS.ChatChatResponseStatusEnum
Status code
statusMessage
Type: SystemString
Status message

Type Parameters

TData
Type of data property

Return Value

Type: ChatGeneralResponseTData
General response with Data of type TData
See Also