public class DataflowBlock extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Threading.Tasks.Dataflow.DataflowBlock
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Threading.Tasks.Dataflow, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Threading.Tasks.Dataflow
|
static java.lang.String |
className
Qualified class name: System.Threading.Tasks.Dataflow.DataflowBlock
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DataflowBlock() |
DataflowBlock(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <TOutput extends IJCOBridgeReflected> |
AsObservable(ISourceBlock_1 source)
Invokes the .NET member AsObservable.
|
static <TInput extends IJCOBridgeReflected> |
AsObserver(ITargetBlock_1 target)
Invokes the .NET member AsObserver.
|
static DataflowBlock |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataflowBlock, a cast assert is made to check if types are compatible. |
static <T1 extends IJCOBridgeReflected,T2 extends IJCOBridgeReflected> |
Choose(ISourceBlock_1 source1,
Action_1 action1,
ISourceBlock_1 source2,
Action_1 action2)
Invokes the .NET member Choose.
|
static <T1 extends IJCOBridgeReflected,T2 extends IJCOBridgeReflected> |
Choose(ISourceBlock_1 source1,
Action_1 action1,
ISourceBlock_1 source2,
Action_1 action2,
DataflowBlockOptions dataflowBlockOptions)
Invokes the .NET member Choose.
|
static <T1 extends IJCOBridgeReflected,T2 extends IJCOBridgeReflected,T3 extends IJCOBridgeReflected> |
Choose(ISourceBlock_1 source1,
Action_1 action1,
ISourceBlock_1 source2,
Action_1 action2,
ISourceBlock_1 source3,
Action_1 action3)
Invokes the .NET member Choose.
|
static <T1 extends IJCOBridgeReflected,T2 extends IJCOBridgeReflected,T3 extends IJCOBridgeReflected> |
Choose(ISourceBlock_1 source1,
Action_1 action1,
ISourceBlock_1 source2,
Action_1 action2,
ISourceBlock_1 source3,
Action_1 action3,
DataflowBlockOptions dataflowBlockOptions)
Invokes the .NET member Choose.
|
static <TInput extends IJCOBridgeReflected,TOutput extends IJCOBridgeReflected> |
Encapsulate(ITargetBlock_1 target,
ISourceBlock_1 source)
Invokes the .NET member Encapsulate.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static <TOutput extends IJCOBridgeReflected> |
LinkTo(ISourceBlock_1 source,
ITargetBlock_1 target)
Invokes the .NET member LinkTo.
|
static <TOutput extends IJCOBridgeReflected> |
LinkTo(ISourceBlock_1 source,
ITargetBlock_1 target,
DataflowLinkOptions linkOptions,
Predicate_1 predicate)
Invokes the .NET member LinkTo.
|
static <TOutput extends IJCOBridgeReflected> |
LinkTo(ISourceBlock_1 source,
ITargetBlock_1 target,
Predicate_1 predicate)
Invokes the .NET member LinkTo.
|
static <TInput extends IJCOBridgeReflected> |
NullTarget()
Invokes the .NET member NullTarget.
|
static <TOutput extends IJCOBridgeReflected> |
OutputAvailableAsync(ISourceBlock_1 source)
Invokes the .NET member OutputAvailableAsync.
|
static <TOutput extends IJCOBridgeReflected> |
OutputAvailableAsync(ISourceBlock_1 source,
CancellationToken cancellationToken)
Invokes the .NET member OutputAvailableAsync.
|
static <TInput extends IJCOBridgeReflected> |
Post(ITargetBlock_1 target,
TInput item)
Invokes the .NET member Post.
|
static <TOutput extends IJCOBridgeReflected> |
ReceiveAllAsync(IReceivableSourceBlock_1 source,
CancellationToken cancellationToken)
Invokes the .NET member ReceiveAllAsync.
|
static <TOutput extends IJCOBridgeReflected> |
ReceiveAsync(ISourceBlock_1 source)
Invokes the .NET member ReceiveAsync.
|
static <TOutput extends IJCOBridgeReflected> |
ReceiveAsync(ISourceBlock_1 source,
CancellationToken cancellationToken)
Invokes the .NET member ReceiveAsync.
|
static <TOutput extends IJCOBridgeReflected> |
ReceiveAsync(ISourceBlock_1 source,
TimeSpan timeout)
Invokes the .NET member ReceiveAsync.
|
static <TOutput extends IJCOBridgeReflected> |
ReceiveAsync(ISourceBlock_1 source,
TimeSpan timeout,
CancellationToken cancellationToken)
Invokes the .NET member ReceiveAsync.
|
static <TInput extends IJCOBridgeReflected> |
SendAsync(ITargetBlock_1 target,
TInput item)
Invokes the .NET member SendAsync.
|
static <TInput extends IJCOBridgeReflected> |
SendAsync(ITargetBlock_1 target,
TInput item,
CancellationToken cancellationToken)
Invokes the .NET member SendAsync.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static <TOutput extends IJCOBridgeReflected> |
TryReceive(IReceivableSourceBlock_1 source,
JCORefOut<TOutput> item)
Invokes the .NET member TryReceive.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DataflowBlock()
throws java.lang.Throwable
java.lang.Throwablepublic DataflowBlock(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static <TOutput extends IJCOBridgeReflected> IObservable_1 AsObservable(ISourceBlock_1 source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException
TOutput - the type of the generic argument TOutputsource - the argument of type ISourceBlock_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static <TInput extends IJCOBridgeReflected> IObserver_1 AsObserver(ITargetBlock_1 target) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
TInput - the type of the generic argument TInputtarget - the argument of type ITargetBlock_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static DataflowBlock cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataflowBlock, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataflowBlock instancejava.lang.Throwable - in case of error during cast operationpublic static <T1 extends IJCOBridgeReflected,T2 extends IJCOBridgeReflected> Task_1 Choose(ISourceBlock_1 source1, Action_1 action1, ISourceBlock_1 source2, Action_1 action2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, TaskSchedulerException, OutOfMemoryException, AggregateException
T1 - the type of the generic argument T1T2 - the type of the generic argument T2source1 - the argument of type ISourceBlock_1action1 - the argument of type Action_1source2 - the argument of type ISourceBlock_1action2 - the argument of type Action_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itAggregateException - if the .NET member raises itpublic static <T1 extends IJCOBridgeReflected,T2 extends IJCOBridgeReflected> Task_1 Choose(ISourceBlock_1 source1, Action_1 action1, ISourceBlock_1 source2, Action_1 action2, DataflowBlockOptions dataflowBlockOptions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, EventSourceException, AggregateException, TaskSchedulerException
T1 - the type of the generic argument T1T2 - the type of the generic argument T2source1 - the argument of type ISourceBlock_1action1 - the argument of type Action_1source2 - the argument of type ISourceBlock_1action2 - the argument of type Action_1dataflowBlockOptions - the argument of type DataflowBlockOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itAggregateException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic static <T1 extends IJCOBridgeReflected,T2 extends IJCOBridgeReflected,T3 extends IJCOBridgeReflected> Task_1 Choose(ISourceBlock_1 source1, Action_1 action1, ISourceBlock_1 source2, Action_1 action2, ISourceBlock_1 source3, Action_1 action3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, TaskSchedulerException, OutOfMemoryException, AggregateException
T1 - the type of the generic argument T1T2 - the type of the generic argument T2T3 - the type of the generic argument T3source1 - the argument of type ISourceBlock_1action1 - the argument of type Action_1source2 - the argument of type ISourceBlock_1action2 - the argument of type Action_1source3 - the argument of type ISourceBlock_1action3 - the argument of type Action_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itAggregateException - if the .NET member raises itpublic static <T1 extends IJCOBridgeReflected,T2 extends IJCOBridgeReflected,T3 extends IJCOBridgeReflected> Task_1 Choose(ISourceBlock_1 source1, Action_1 action1, ISourceBlock_1 source2, Action_1 action2, ISourceBlock_1 source3, Action_1 action3, DataflowBlockOptions dataflowBlockOptions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, EventSourceException, AggregateException, TaskSchedulerException
T1 - the type of the generic argument T1T2 - the type of the generic argument T2T3 - the type of the generic argument T3source1 - the argument of type ISourceBlock_1action1 - the argument of type Action_1source2 - the argument of type ISourceBlock_1action2 - the argument of type Action_1source3 - the argument of type ISourceBlock_1action3 - the argument of type Action_1dataflowBlockOptions - the argument of type DataflowBlockOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itAggregateException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic static <TInput extends IJCOBridgeReflected,TOutput extends IJCOBridgeReflected> IPropagatorBlock_2 Encapsulate(ITargetBlock_1 target, ISourceBlock_1 source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
TInput - the type of the generic argument TInputTOutput - the type of the generic argument TOutputtarget - the argument of type ITargetBlock_1source - the argument of type ISourceBlock_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static <TOutput extends IJCOBridgeReflected> IDisposable LinkTo(ISourceBlock_1 source, ITargetBlock_1 target) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
TOutput - the type of the generic argument TOutputsource - the argument of type ISourceBlock_1target - the argument of type ITargetBlock_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static <TOutput extends IJCOBridgeReflected> IDisposable LinkTo(ISourceBlock_1 source, ITargetBlock_1 target, DataflowLinkOptions linkOptions, Predicate_1 predicate) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
TOutput - the type of the generic argument TOutputsource - the argument of type ISourceBlock_1target - the argument of type ITargetBlock_1linkOptions - the argument of type DataflowLinkOptionspredicate - the argument of type Predicate_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static <TOutput extends IJCOBridgeReflected> IDisposable LinkTo(ISourceBlock_1 source, ITargetBlock_1 target, Predicate_1 predicate) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
TOutput - the type of the generic argument TOutputsource - the argument of type ISourceBlock_1target - the argument of type ITargetBlock_1predicate - the argument of type Predicate_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static <TInput extends IJCOBridgeReflected> ITargetBlock_1 NullTarget() throws java.lang.Throwable
TInput - the type of the generic argument TInputjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static <TOutput extends IJCOBridgeReflected> Task_1 OutputAvailableAsync(ISourceBlock_1 source) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
TOutput - the type of the generic argument TOutputsource - the argument of type ISourceBlock_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static <TOutput extends IJCOBridgeReflected> Task_1 OutputAvailableAsync(ISourceBlock_1 source, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException
TOutput - the type of the generic argument TOutputsource - the argument of type ISourceBlock_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static <TInput extends IJCOBridgeReflected> boolean Post(ITargetBlock_1 target, TInput item) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
TInput - the type of the generic argument TInputtarget - the argument of type ITargetBlock_1item - the argument of type TInputjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static <TOutput extends IJCOBridgeReflected> IAsyncEnumerable_1 ReceiveAllAsync(IReceivableSourceBlock_1 source, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
TOutput - the type of the generic argument TOutputsource - the argument of type IReceivableSourceBlock_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static <TOutput extends IJCOBridgeReflected> Task_1 ReceiveAsync(ISourceBlock_1 source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, TaskSchedulerException, AggregateException
TOutput - the type of the generic argument TOutputsource - the argument of type ISourceBlock_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itAggregateException - if the .NET member raises itpublic static <TOutput extends IJCOBridgeReflected> Task_1 ReceiveAsync(ISourceBlock_1 source, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, TaskSchedulerException, AggregateException
TOutput - the type of the generic argument TOutputsource - the argument of type ISourceBlock_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itAggregateException - if the .NET member raises itpublic static <TOutput extends IJCOBridgeReflected> Task_1 ReceiveAsync(ISourceBlock_1 source, TimeSpan timeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, TaskSchedulerException, AggregateException
TOutput - the type of the generic argument TOutputsource - the argument of type ISourceBlock_1timeout - the argument of type TimeSpanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itAggregateException - if the .NET member raises itpublic static <TOutput extends IJCOBridgeReflected> Task_1 ReceiveAsync(ISourceBlock_1 source, TimeSpan timeout, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, AggregateException, OutOfMemoryException, TaskSchedulerException
TOutput - the type of the generic argument TOutputsource - the argument of type ISourceBlock_1timeout - the argument of type TimeSpancancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itAggregateException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic static <TInput extends IJCOBridgeReflected> Task_1 SendAsync(ITargetBlock_1 target, TInput item) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, TaskSchedulerException
TInput - the type of the generic argument TInputtarget - the argument of type ITargetBlock_1item - the argument of type TInputjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic static <TInput extends IJCOBridgeReflected> Task_1 SendAsync(ITargetBlock_1 target, TInput item, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, TaskSchedulerException
TInput - the type of the generic argument TInputtarget - the argument of type ITargetBlock_1item - the argument of type TInputcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic static <TOutput extends IJCOBridgeReflected> boolean TryReceive(IReceivableSourceBlock_1 source, JCORefOut<TOutput> item) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
TOutput - the type of the generic argument TOutputsource - the argument of type IReceivableSourceBlock_1item - the argument of type JCORefOut<TOutput>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises it