Click or drag to resize
LinkedInApiException Class
Thrown when protocol error in communication with LinkedIn API occurs.
Inheritance Hierarchy

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 9.0.0
Syntax
C#
public class LinkedInApiException : CMSException

The LinkedInApiException type exposes the following members.

Constructors
  NameDescription
Public methodLinkedInApiException
Thrown when protocol error in communication with LinkedIn API occurs.
Public methodLinkedInApiException(String)
Thrown when protocol error in communication with LinkedIn API occurs.
Public methodLinkedInApiException(String, Exception)
Thrown when protocol error in communication with LinkedIn API occurs.
Public methodLinkedInApiException(Int32, Int32, String)
Thrown when protocol error in communication with LinkedIn API occurs.
Top
Properties
  NameDescription
Protected propertyCustomMessage
Custom message.
(Inherited from CMSException.)
Public propertyErrorCode
Error code of the LinkedIn API response. Originates from the API response body.
Public propertyHttpStatus
HTTP status code which was present in the API's HTTP response.
Public propertyMessage
Message.
(Inherited from CMSException.)
Public propertyUIMessage
Message displayed in the UI to the user
(Inherited from CMSException.)
Top
Methods
Remarks
The exception is ment for situations when the error condition arised at LinkedIn server, thus the HttpStatus and ErrorCode should always be available. Should not be used in situations when the root cause is local.
See Also