Binder.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(MethodBase, Object, IResolver, IBinding) | |
TryBind<R>(MethodInfo, Object, IResolver, IBinding<R>) |
TryBind(MethodBase, Object, IResolver, IBinding)
- Source:
- Binder.cs
public static bool TryBind (System.Reflection.MethodBase method, object target, Microsoft.Bot.Builder.Scorables.Internals.IResolver resolver, out Microsoft.Bot.Builder.Scorables.Internals.IBinding binding);
static member TryBind : System.Reflection.MethodBase * obj * Microsoft.Bot.Builder.Scorables.Internals.IResolver * IBinding -> bool
Public Shared Function TryBind (method As MethodBase, target As Object, resolver As IResolver, ByRef binding As IBinding) As Boolean
Parameters
- method
- MethodBase
- target
- Object
- resolver
- IResolver
- binding
- IBinding
Returns
Applies to
TryBind<R>(MethodInfo, Object, IResolver, IBinding<R>)
- Source:
- Binder.cs
public static bool TryBind<R> (System.Reflection.MethodInfo method, object target, Microsoft.Bot.Builder.Scorables.Internals.IResolver resolver, out Microsoft.Bot.Builder.Scorables.Internals.IBinding<R> binding);
static member TryBind : System.Reflection.MethodInfo * obj * Microsoft.Bot.Builder.Scorables.Internals.IResolver * IBinding -> bool
Public Shared Function TryBind(Of R) (method As MethodInfo, target As Object, resolver As IResolver, ByRef binding As IBinding(Of R)) As Boolean
Type Parameters
- R
Parameters
- method
- MethodInfo
- target
- Object
- resolver
- IResolver
- binding
- IBinding<R>