Class SocialException
The SocialException class represents an error occurring when a one of the social clients encounters a problem while communicating with the Episerver Social Cloud service.
Inheritance
System.Object
System.Exception
SocialException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: EPiServer.Social.Common
Assembly: EPiServer.Social.Common.dll
Version: 1.5.4Syntax
public class SocialException : Exception, ISerializable, _Exception
Constructors
SocialException()
Constructor
Declaration
public SocialException()
SocialException(String)
Constructor
Declaration
public SocialException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | Exception message |
SocialException(String, Exception)
Constructor
Declaration
public SocialException(string message, Exception ex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | Exception message |
| System.Exception | ex | The inner exception |
Properties
ErrorCode
Gets or sets the error code identifying the problem that has occurred, if one is applicable.
Declaration
public string ErrorCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Reason
Gets or sets the description of the problem that has occurred, if one is applicable.
Declaration
public string Reason { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
StatusCode
Gets or sets the HTTP status code corresponding to the error, if one is applicable.
Declaration
public HttpStatusCode StatusCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Net.HttpStatusCode |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception