Click or drag to resize
LinkedInApiUnauthorizedException Class
Thrown when protocol error in communication with LinkedIn API has the root cause in not being authorized. The HTTP status code in such case is most certainly a 401.
Inheritance Hierarchy
SystemObject
  SystemException
    CMS.SocialMarketingLinkedInApiException
      CMS.SocialMarketingLinkedInApiUnauthorizedException

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

The LinkedInApiUnauthorizedException type exposes the following members.

Constructors
  NameDescription
Public methodLinkedInApiUnauthorizedException
Thrown when protocol error in communication with LinkedIn API has the root cause in not being authorized.
Public methodLinkedInApiUnauthorizedException(String)
Thrown when protocol error in communication with LinkedIn API has the root cause in not being authorized.
Public methodLinkedInApiUnauthorizedException(String, Exception)
Thrown when protocol error in communication with LinkedIn API has the root cause in not being authorized.
Public methodLinkedInApiUnauthorizedException(Int32, Int32, String)
Thrown when protocol error in communication with LinkedIn API has the root cause in not being authorized.
Top
Properties
  NameDescription
Public propertyErrorCode
Error code of the LinkedIn API response. Originates from the API response body.
(Inherited from LinkedInApiException.)
Public propertyHttpStatus
HTTP status code which was present in the API's HTTP response.
(Inherited from LinkedInApiException.)
Top
See Also