LinkedInPostInfoProviderGetLinkedInPostErrorMessage Method |
Gets localized error message that describes the given LinkedIn's error code.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 9.0.0
Syntax 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:
StringLocalized error message.
See Also