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: 12.0.0
Syntax
C#
public class LinkedInApiException : Exception

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
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.
Top
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