Class CouldNotContactSitecoreLayoutServiceClientException
Details an exception that may occur when the Sitecore layout service cannot be contacted.
Inheritance
System.Object
CouldNotContactSitecoreLayoutServiceClientException
Namespace: Sitecore.LayoutService.Client.Exceptions
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
public class CouldNotContactSitecoreLayoutServiceClientException : SitecoreLayoutServiceClientException
Constructors
CouldNotContactSitecoreLayoutServiceClientException()
Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.
Declaration
public CouldNotContactSitecoreLayoutServiceClientException()
CouldNotContactSitecoreLayoutServiceClientException(Exception)
Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.
Declaration
public CouldNotContactSitecoreLayoutServiceClientException(Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | innerException | The inner exception to be wrapped. |
CouldNotContactSitecoreLayoutServiceClientException(String)
Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.
Declaration
public CouldNotContactSitecoreLayoutServiceClientException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
CouldNotContactSitecoreLayoutServiceClientException(String, Exception)
Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.
Declaration
public CouldNotContactSitecoreLayoutServiceClientException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
System.Exception | innerException | The inner exception to be wrapped. |