Class PlatformException
The base exception class for all exceptions
Inheritance
System.Object
System.Exception
PlatformException
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: Microsoft.Bot.Builder.Enterprise.Exceptions
Assembly: Microsoft.Bot.Builder.Enterprise.dll
Syntax
public class PlatformException : Exception, ISerializable, _Exception
Constructors
View SourcePlatformException(IPlatformRequest, String)
Initializes a new instance of the PlatformException class.
Declaration
public PlatformException(IPlatformRequest platformRequest, string message)
Parameters
Type | Name | Description |
---|---|---|
IPlatformRequest | platformRequest | The platform request. |
System.String | message | The message. |
PlatformException(IPlatformResponse, String)
Initializes a new instance of the PlatformException class. Create an exception with message
Declaration
public PlatformException(IPlatformResponse platformResponse, string message)
Parameters
Type | Name | Description |
---|---|---|
IPlatformResponse | platformResponse | The platform Response. |
System.String | message | The message. |
PlatformException(Exception, String)
Initializes a new instance of the PlatformException class. Create an exception with message and inner exception
Declaration
public PlatformException(Exception innerException, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | innerException | The inner exception. |
System.String | message | The message. |
PlatformException(String)
Initializes a new instance of the PlatformException class. Create an exception with message
Declaration
public PlatformException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
Properties
View SourcePlatformRequest
Gets the platform request.
Declaration
public IPlatformRequest PlatformRequest { get; }
Property Value
Type | Description |
---|---|
IPlatformRequest |
PlatformResponse
Gets the platform response.
Declaration
public IPlatformResponse PlatformResponse { get; }
Property Value
Type | Description |
---|---|
IPlatformResponse |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception