This documentation is archived and is not being maintained.

BinaryDelegate<TArg1, TArg2, TResult> Delegate

Describes a two-argument delegate. You use it to specify the arguments and return type of the delegate.

Namespace:  Microsoft.VisualC.StlClr
Assembly:  Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)

generic<typename TArg1, typename TArg2, typename TResult>
public delegate TResult BinaryDelegate(
	TArg1 param0, 
	TArg2 param1
)

Type Parameters

TArg1

The first delegate argument.

TArg2

The second delegate argument.

TResult

The return type of the delegate.

Parameters

param0
Type: TArg1
The first argument.
param1
Type: TArg2
The second argument.

Return Value

Type: TResult
The return type of the delegate.

This delegate is the generic equivalent of the STL/CLR binary_delegate class. For more information, see binary_delegate (STL/CLR).

.NET Framework

Supported in: 4, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: