IBinder.TryBind Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TryBind(Delegate, IResolver, IBinding) | |
TryBind(MethodBase, IResolver, IBinding) | |
TryBind<R>(Delegate, IResolver, IBinding<R>) | |
TryBind<R>(MethodInfo, IResolver, IBinding<R>) |
TryBind(Delegate, IResolver, IBinding)
public bool TryBind (Delegate lambda, Microsoft.Bot.Builder.Scorables.Internals.IResolver resolver, out Microsoft.Bot.Builder.Scorables.Internals.IBinding binding);
abstract member TryBind : Delegate * Microsoft.Bot.Builder.Scorables.Internals.IResolver * IBinding -> bool
Public Function TryBind (lambda As Delegate, resolver As IResolver, ByRef binding As IBinding) As Boolean
Parameters
- lambda
- Delegate
- resolver
- IResolver
- binding
- IBinding
Returns
Applies to
TryBind(MethodBase, IResolver, IBinding)
public bool TryBind (System.Reflection.MethodBase method, Microsoft.Bot.Builder.Scorables.Internals.IResolver resolver, out Microsoft.Bot.Builder.Scorables.Internals.IBinding binding);
abstract member TryBind : System.Reflection.MethodBase * Microsoft.Bot.Builder.Scorables.Internals.IResolver * IBinding -> bool
Public Function TryBind (method As MethodBase, resolver As IResolver, ByRef binding As IBinding) As Boolean
Parameters
- method
- MethodBase
- resolver
- IResolver
- binding
- IBinding
Returns
Applies to
TryBind<R>(Delegate, IResolver, IBinding<R>)
public bool TryBind<R> (Delegate lambda, Microsoft.Bot.Builder.Scorables.Internals.IResolver resolver, out Microsoft.Bot.Builder.Scorables.Internals.IBinding<R> binding);
abstract member TryBind : Delegate * Microsoft.Bot.Builder.Scorables.Internals.IResolver * IBinding -> bool
Public Function TryBind(Of R) (lambda As Delegate, resolver As IResolver, ByRef binding As IBinding(Of R)) As Boolean
Type Parameters
- R
Parameters
- lambda
- Delegate
- resolver
- IResolver
- binding
- IBinding<R>
Returns
Applies to
TryBind<R>(MethodInfo, IResolver, IBinding<R>)
public bool TryBind<R> (System.Reflection.MethodInfo method, Microsoft.Bot.Builder.Scorables.Internals.IResolver resolver, out Microsoft.Bot.Builder.Scorables.Internals.IBinding<R> binding);
abstract member TryBind : System.Reflection.MethodInfo * Microsoft.Bot.Builder.Scorables.Internals.IResolver * IBinding -> bool
Public Function TryBind(Of R) (method As MethodInfo, resolver As IResolver, ByRef binding As IBinding(Of R)) As Boolean
Type Parameters
- R
Parameters
- method
- MethodInfo
- resolver
- IResolver
- binding
- IBinding<R>