Show / Hide Table of Contents

Class EnterprisePlatformBuilder

The class the provides the builder for Enterprise Platform.

Inheritance
System.Object
EnterprisePlatformBuilder
Implements
IEnterprisePlatformBuilder
Inherited Members
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.Core
Assembly: Microsoft.Bot.Builder.Enterprise.dll
Syntax
public class EnterprisePlatformBuilder : IEnterprisePlatformBuilder

Properties

View Source

Id

Gets the platform id.

Declaration
public string Id { get; }
Property Value
Type Description
System.String

Methods

View Source

Build()

Declaration
public IEnterprisePlatform Build()
Returns
Type Description
IEnterprisePlatform
Exceptions
Type Condition
System.ArgumentException

Cannot build the platform without setting the required parameters.

View Source

SetAuthenticationProvider(IAuthProvider)

Declaration
public IEnterprisePlatformBuilder SetAuthenticationProvider(IAuthProvider provider)
Parameters
Type Name Description
IAuthProvider provider
Returns
Type Description
IEnterprisePlatformBuilder
View Source

SetCallbackUrl(Uri)

Declaration
public IEnterprisePlatformBuilder SetCallbackUrl(Uri callbackUrl)
Parameters
Type Name Description
System.Uri callbackUrl
Returns
Type Description
IEnterprisePlatformBuilder
Exceptions
Type Condition
System.ArgumentNullException

callbackUrl is null

System.ArgumentException

uri must be https

View Source

SetCallServiceHandler(ICallServiceHandler)

Declaration
public IEnterprisePlatformBuilder SetCallServiceHandler(ICallServiceHandler handler)
Parameters
Type Name Description
ICallServiceHandler handler
Returns
Type Description
IEnterprisePlatformBuilder
View Source

SetCredentials(String, String)

Declaration
public IEnterprisePlatformBuilder SetCredentials(string azureClientId, string azureClientSecret)
Parameters
Type Name Description
System.String azureClientId
System.String azureClientSecret
Returns
Type Description
IEnterprisePlatformBuilder
Exceptions
Type Condition
System.ArgumentException

Client credentials cannot be null

View Source

SetPlaceCallEndpointUrl(Uri)

Declaration
public IEnterprisePlatformBuilder SetPlaceCallEndpointUrl(Uri placeCallEndpointUrl)
Parameters
Type Name Description
System.Uri placeCallEndpointUrl
Returns
Type Description
IEnterprisePlatformBuilder
Exceptions
Type Condition
System.ArgumentNullException

placeCallEndpointUrl is null

System.ArgumentException

uri must be https

View Source

SetupLogger(IEnterpriseLogger)

Declaration
public IEnterprisePlatformBuilder SetupLogger(IEnterpriseLogger enterpriseLogger)
Parameters
Type Name Description
IEnterpriseLogger enterpriseLogger
Returns
Type Description
IEnterprisePlatformBuilder
View Source

UseStateManager()

Declaration
public IEnterprisePlatformBuilder UseStateManager()
Returns
Type Description
IEnterprisePlatformBuilder

Implements

IEnterprisePlatformBuilder
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX