Class EnterprisePlatformBuilder
The class the provides the builder for Enterprise Platform.
Inheritance
System.Object
EnterprisePlatformBuilder
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()
Assembly: Microsoft.Bot.Builder.Enterprise.dll
public class EnterprisePlatformBuilder : IEnterprisePlatformBuilder
Properties
View Source
Declaration
public string Id { get; }
Property Value
Type |
Description |
System.String |
|
Methods
View Source
Declaration
public IEnterprisePlatform Build()
Returns
Exceptions
Type |
Condition |
System.ArgumentException |
Cannot build the platform without setting the required parameters.
|
View Source
Declaration
public IEnterprisePlatformBuilder SetAuthenticationProvider(IAuthProvider provider)
Parameters
Returns
View Source
Declaration
public IEnterprisePlatformBuilder SetCallbackUrl(Uri callbackUrl)
Parameters
Type |
Name |
Description |
System.Uri |
callbackUrl |
|
Returns
Exceptions
Type |
Condition |
System.ArgumentNullException |
callbackUrl is null
|
System.ArgumentException |
uri must be https
|
View Source
Declaration
public IEnterprisePlatformBuilder SetCallServiceHandler(ICallServiceHandler handler)
Parameters
Returns
View Source
Declaration
public IEnterprisePlatformBuilder SetCredentials(string azureClientId, string azureClientSecret)
Parameters
Type |
Name |
Description |
System.String |
azureClientId |
|
System.String |
azureClientSecret |
|
Returns
Exceptions
Type |
Condition |
System.ArgumentException |
Client credentials cannot be null
|
View Source
Declaration
public IEnterprisePlatformBuilder SetPlaceCallEndpointUrl(Uri placeCallEndpointUrl)
Parameters
Type |
Name |
Description |
System.Uri |
placeCallEndpointUrl |
|
Returns
Exceptions
Type |
Condition |
System.ArgumentNullException |
placeCallEndpointUrl is null
|
System.ArgumentException |
uri must be https
|
View Source
Declaration
public IEnterprisePlatformBuilder SetupLogger(IEnterpriseLogger enterpriseLogger)
Parameters
Returns
View Source
Declaration
public IEnterprisePlatformBuilder UseStateManager()
Returns
Implements