Class PlatformController
Platform Controller. The base controller that routes all the data into the SDK.
Inheritance
System.Object
System.Web.Http.ApiController
PlatformController
Implements
System.Web.Http.Controllers.IHttpController
System.IDisposable
Inherited Members
System.Web.Http.ApiController.ExecuteAsync(System.Web.Http.Controllers.HttpControllerContext, System.Threading.CancellationToken)
System.Web.Http.ApiController.Validate<TEntity>(TEntity)
System.Web.Http.ApiController.Validate<TEntity>(TEntity, System.String)
System.Web.Http.ApiController.BadRequest()
System.Web.Http.ApiController.BadRequest(System.String)
System.Web.Http.ApiController.BadRequest(System.Web.Http.ModelBinding.ModelStateDictionary)
System.Web.Http.ApiController.Conflict()
System.Web.Http.ApiController.Content<T>(System.Net.HttpStatusCode, T)
System.Web.Http.ApiController.Content<T>(System.Net.HttpStatusCode, T, System.Net.Http.Formatting.MediaTypeFormatter)
System.Web.Http.ApiController.Content<T>(System.Net.HttpStatusCode, T, System.Net.Http.Formatting.MediaTypeFormatter, System.String)
System.Web.Http.ApiController.Content<T>(System.Net.HttpStatusCode, T, System.Net.Http.Formatting.MediaTypeFormatter, System.Net.Http.Headers.MediaTypeHeaderValue)
System.Web.Http.ApiController.Created<T>(System.String, T)
System.Web.Http.ApiController.Created<T>(System.Uri, T)
System.Web.Http.ApiController.CreatedAtRoute<T>(System.String, System.Object, T)
System.Web.Http.ApiController.CreatedAtRoute<T>(System.String, System.Collections.Generic.IDictionary<System.String, System.Object>, T)
System.Web.Http.ApiController.InternalServerError()
System.Web.Http.ApiController.InternalServerError(System.Exception)
System.Web.Http.ApiController.Json<T>(T)
System.Web.Http.ApiController.Json<T>(T, Newtonsoft.Json.JsonSerializerSettings)
System.Web.Http.ApiController.Json<T>(T, Newtonsoft.Json.JsonSerializerSettings, System.Text.Encoding)
System.Web.Http.ApiController.NotFound()
System.Web.Http.ApiController.Ok()
System.Web.Http.ApiController.Ok<T>(T)
System.Web.Http.ApiController.Redirect(System.String)
System.Web.Http.ApiController.Redirect(System.Uri)
System.Web.Http.ApiController.RedirectToRoute(System.String, System.Object)
System.Web.Http.ApiController.RedirectToRoute(System.String, System.Collections.Generic.IDictionary<System.String, System.Object>)
System.Web.Http.ApiController.ResponseMessage(System.Net.Http.HttpResponseMessage)
System.Web.Http.ApiController.StatusCode(System.Net.HttpStatusCode)
System.Web.Http.ApiController.Unauthorized(System.Net.Http.Headers.AuthenticationHeaderValue[])
System.Web.Http.ApiController.Unauthorized(System.Collections.Generic.IEnumerable<System.Net.Http.Headers.AuthenticationHeaderValue>)
System.Web.Http.ApiController.Initialize(System.Web.Http.Controllers.HttpControllerContext)
System.Web.Http.ApiController.Dispose()
System.Web.Http.ApiController.Dispose(System.Boolean)
System.Web.Http.ApiController.Configuration
System.Web.Http.ApiController.ControllerContext
System.Web.Http.ApiController.ActionContext
System.Web.Http.ApiController.ModelState
System.Web.Http.ApiController.Request
System.Web.Http.ApiController.RequestContext
System.Web.Http.ApiController.Url
System.Web.Http.ApiController.User
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Microsoft.Bot.Builder.Enterprise.Transport
Assembly: Microsoft.Bot.Builder.Enterprise.dll
Syntax
public abstract class PlatformController : ApiController, IHttpController, IDisposable
Properties
View SourceEnterprisePlatform
Gets or sets the enterprise platform object. This is provided by the bot and is used to send data to the enterprise platform.
Declaration
protected abstract IEnterprisePlatform EnterprisePlatform { get; set; }
Property Value
Type | Description |
---|---|
IEnterprisePlatform |
Methods
View SourceOnIncomingCallAsync()
Handle a notification for an incoming call.
Declaration
[HttpPost]
[Route("")]
public Task<HttpResponseMessage> OnIncomingCallAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> | Return the response to incoming call |
Implements
System.Web.Http.Controllers.IHttpController
System.IDisposable