Udostępnij za pośrednictwem


ClientProxy.TryInvokeMember Method

.NET Framework 4

Executes the Invoke(String, Object[]) method.

Namespace:  Microsoft.AspNet.SignalR.Hubs
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Public Overrides Function TryInvokeMember ( _
    binder As InvokeMemberBinder, _
    args As Object(), _
    <OutAttribute> ByRef result As Object _
) As Boolean
'Usage
Dim instance As ClientProxy 
Dim binder As InvokeMemberBinder 
Dim args As Object()
Dim result As Object 
Dim returnValue As Boolean 

returnValue = instance.TryInvokeMember(binder, _
    args, result)
public override bool TryInvokeMember(
    InvokeMemberBinder binder,
    Object[] args,
    out Object result
)
public:
virtual bool TryInvokeMember(
    InvokeMemberBinder^ binder, 
    array<Object^>^ args, 
    [OutAttribute] Object^% result
) override
abstract TryInvokeMember : 
        binder:InvokeMemberBinder * 
        args:Object[] * 
        result:Object byref -> bool  
override TryInvokeMember : 
        binder:InvokeMemberBinder * 
        args:Object[] * 
        result:Object byref -> bool
public override function TryInvokeMember(
    binder : InvokeMemberBinder, 
    args : Object[], 
    result : Object
) : boolean

Parameters

  • args
    Type: System.Object[]
    The arguments that are passed to the object member during the invoke operation.
  • result
    Type: System.Object%
    When method returns, contains the result of the member invocation.

Return Value

Type: System.Boolean
true always.

See Also

Reference

ClientProxy Class

Microsoft.AspNet.SignalR.Hubs Namespace