Click or drag to resize
LinkedInPostInfoProviderGetLinkedInPostErrorMessage Method
Gets localized error message that describes the given LinkedIn's error code.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 9.0.0
Syntax
C#
protected virtual string GetLinkedInPostErrorMessage(
	int httpStatusCode,
	int errorCode,
	string errorMessage
)

Parameters

httpStatusCode
Type: SystemInt32
HTTP status code returned when publishing to LinkedIn.
errorCode
Type: SystemInt32
Error code that LinkedIn returned in the response body. Or custom error (negative value)
errorMessage
Type: SystemString
Error message that LinkedIn returned in the response body.

Return Value

Type: String
Localized error message.
See Also