Class TcoRemoteTask
Remote tasks delegates its execution to C#.
When this task is invoked a C# method will be called. To initiliaze
RemoteTask
with C# method use the
Initiliaze
or
InitializeExclusively
method.
partial void PexConstructor(IVortexObject parent, string readableTail, string symbolTail)
{
_remoteTaskInstance.InitializeExclusively(Create);
//_remoteTaskInstance.Initialize(Create);
}
private bool Create()
{
//your code.
return true;
}
Inheritance
System.Object
TcoRemoteTask
Implements
Vortex.Connector.Identity.IVortexIdentity
System.Windows.Input.ICommand
System.ComponentModel.INotifyPropertyChanged
Vortex.Connector.IVortexObject
Vortex.Connector.ITwinObject
Vortex.Connector.IVortexElement
Vortex.Connector.IVortexOnlineObject
Vortex.Connector.IVortexShadowObject
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: TcoCoreConnector.dll
Syntax
[TypeMetaDescriptor("{attribute addProperty Name \"\" }", "TcoRemoteTask", "TcoCore", TypeComplexityEnum.Complex)]
public class TcoRemoteTask : TcoTask, IVortexIdentity, IsTcoObject, ICommand, IDecorateLog, IsTask, INotifyPropertyChanged, IVortexObject, ITwinObject, IVortexElement, ITcoRemoteTask, ITcoTask, ITcoObject, IShadowTcoRemoteTask, IShadowTcoTask, IShadowTcoObject, IVortexOnlineObject, IVortexShadowObject
Constructors
|
Improve this Doc
View Source
TcoRemoteTask()
Declaration
|
Improve this Doc
View Source
TcoRemoteTask(IVortexObject, String, String)
Declaration
public TcoRemoteTask(IVortexObject parent, string readableTail, string symbolTail)
Parameters
Type |
Name |
Description |
Vortex.Connector.IVortexObject |
parent |
|
System.String |
readableTail |
|
System.String |
symbolTail |
|
Fields
|
Improve this Doc
View Source
__doneSignarure
Declaration
OnlinerString __doneSignarure
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerString |
|
|
Improve this Doc
View Source
__exceptionMessage
Declaration
OnlinerString __exceptionMessage
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerString |
|
|
Improve this Doc
View Source
__hasException
Declaration
OnlinerBool __hasException
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
__isInitialized
Declaration
OnlinerBool __isInitialized
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
__startSignature
Declaration
OnlinerString __startSignature
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerString |
|
|
Improve this Doc
View Source
defferedActionCount
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IsRunning
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
remoteExceptionDetails
Declaration
string remoteExceptionDetails
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
remoteExecutionException
Declaration
Exception remoteExecutionException
Field Value
Type |
Description |
System.Exception |
|
Properties
|
Improve this Doc
View Source
_doneSignarure
Declaration
[RenderIgnore]
public OnlinerString _doneSignarure { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerString |
|
|
Improve this Doc
View Source
_exceptionMessage
Declaration
[RenderIgnore]
public OnlinerString _exceptionMessage { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerString |
|
|
Improve this Doc
View Source
_hasException
Declaration
[RenderIgnore]
public OnlinerBool _hasException { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
_isInitialized
Declaration
[RenderIgnore]
public OnlinerBool _isInitialized { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
_startSignature
Declaration
[RenderIgnore]
public OnlinerString _startSignature { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerString |
|
|
Improve this Doc
View Source
DeferredAction
Declaration
Action DeferredAction { }
Property Value
Type |
Description |
System.Action |
|
|
Improve this Doc
View Source
RemoteExceptionDetails
Gets string representation of the current exception on this remote task.
Declaration
public string RemoteExceptionDetails { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RemoteExecutionException
Gets the exception that occurred during the last execution.
Declaration
public Exception RemoteExecutionException { get; }
Property Value
Type |
Description |
System.Exception |
|
Methods
|
Improve this Doc
View Source
CopyPlainToShadow(PlainTcoRemoteTask)
Declaration
public void CopyPlainToShadow(PlainTcoRemoteTask source)
Parameters
|
Improve this Doc
View Source
CreatePlainerType()
Declaration
public PlainTcoRemoteTask CreatePlainerType()
Returns
|
Improve this Doc
View Source
CreatePlainerType(PlainTcoRemoteTask)
Declaration
protected PlainTcoRemoteTask CreatePlainerType(PlainTcoRemoteTask cloned)
Parameters
Returns
|
Improve this Doc
View Source
DeInitialize()
Declaration
public void DeInitialize()
|
Improve this Doc
View Source
ExecuteAsync(IValueTag, ValueChangedEventArgs)
Declaration
async void ExecuteAsync(IValueTag sender, ValueChangedEventArgs args)
Parameters
Type |
Name |
Description |
Vortex.Connector.IValueTag |
sender |
|
Vortex.Connector.ValueTypes.ValueChangedEventArgs |
args |
|
|
Improve this Doc
View Source
FlushOnlineToPlain(PlainTcoRemoteTask)
Declaration
public void FlushOnlineToPlain(PlainTcoRemoteTask source)
Parameters
|
Improve this Doc
View Source
FlushOnlineToShadow()
Declaration
public void FlushOnlineToShadow()
|
Improve this Doc
View Source
FlushPlainToOnline(PlainTcoRemoteTask)
Declaration
public void FlushPlainToOnline(PlainTcoRemoteTask source)
Parameters
|
Improve this Doc
View Source
FlushShadowToOnline()
Declaration
public void FlushShadowToOnline()
|
Improve this Doc
View Source
Initialize(Action)
Declaration
public void Initialize(Action deferredAction)
Parameters
Type |
Name |
Description |
System.Action |
deferredAction |
Action to be executed on this TcoRemoteTask call.
|
|
Improve this Doc
View Source
Initialize(Func<Boolean>)
Declaration
public void Initialize(Func<bool> deferredAction)
Parameters
Type |
Name |
Description |
System.Func<System.Boolean> |
deferredAction |
Action to be executed on this TcoRemoteTask call.
|
|
Improve this Doc
View Source
InitializeExclusively(Action)
Initializes this exclusively for this DeferredAction. Any following attempt
to initialize this will throw an exception.
Declaration
public void InitializeExclusively(Action deferredAction)
Parameters
Type |
Name |
Description |
System.Action |
deferredAction |
Action to be executed on this TcoRemoteTask call.
|
|
Improve this Doc
View Source
InitializeExclusively(Func<Boolean>)
Initializes this exclusively for this DeferredAction. Any following attempt
to initialize this will throw an exception.
Declaration
public void InitializeExclusively(Func<bool> deferredAction)
Parameters
Type |
Name |
Description |
System.Func<System.Boolean> |
deferredAction |
Action to be executed on this call.
|
|
Improve this Doc
View Source
LazyOnlineToShadow()
Declaration
public void LazyOnlineToShadow()
|
Improve this Doc
View Source
LazyShadowToOnline()
Declaration
public void LazyShadowToOnline()
|
Improve this Doc
View Source
PexConstructor(IVortexObject, String, String)
Declaration
void PexConstructor(IVortexObject parent, string readableTail, string symbolTail)
Parameters
Type |
Name |
Description |
Vortex.Connector.IVortexObject |
parent |
|
System.String |
readableTail |
|
System.String |
symbolTail |
|
|
Improve this Doc
View Source
PexConstructorParameterless()
Declaration
void PexConstructorParameterless()
|
Improve this Doc
View Source
PexPreConstructor(IVortexObject, String, String)
Declaration
void PexPreConstructor(IVortexObject parent, string readableTail, string symbolTail)
Parameters
Type |
Name |
Description |
Vortex.Connector.IVortexObject |
parent |
|
System.String |
readableTail |
|
System.String |
symbolTail |
|
|
Improve this Doc
View Source
PexPreConstructorParameterless()
Declaration
void PexPreConstructorParameterless()
|
Improve this Doc
View Source
ResetExecution()
Resets the resets this instance of .
Declaration
public void ResetExecution()
Events
|
Improve this Doc
View Source
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Explicit Interface Implementations
|
Improve this Doc
View Source
IShadowTcoRemoteTask._doneSignarure
Declaration
[RenderIgnore]
IShadowString IShadowTcoRemoteTask._doneSignarure { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowString |
|
|
Improve this Doc
View Source
IShadowTcoRemoteTask._exceptionMessage
Declaration
[RenderIgnore]
IShadowString IShadowTcoRemoteTask._exceptionMessage { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowString |
|
|
Improve this Doc
View Source
IShadowTcoRemoteTask._hasException
Declaration
[RenderIgnore]
IShadowBool IShadowTcoRemoteTask._hasException { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowBool |
|
|
Improve this Doc
View Source
IShadowTcoRemoteTask._isInitialized
Declaration
[RenderIgnore]
IShadowBool IShadowTcoRemoteTask._isInitialized { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowBool |
|
|
Improve this Doc
View Source
IShadowTcoRemoteTask._startSignature
Declaration
[RenderIgnore]
IShadowString IShadowTcoRemoteTask._startSignature { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowString |
|
|
Improve this Doc
View Source
ITcoRemoteTask._doneSignarure
Declaration
[RenderIgnore]
IOnlineString ITcoRemoteTask._doneSignarure { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineString |
|
|
Improve this Doc
View Source
ITcoRemoteTask._exceptionMessage
Declaration
[RenderIgnore]
IOnlineString ITcoRemoteTask._exceptionMessage { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineString |
|
|
Improve this Doc
View Source
ITcoRemoteTask._hasException
Declaration
[RenderIgnore]
IOnlineBool ITcoRemoteTask._hasException { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineBool |
|
|
Improve this Doc
View Source
ITcoRemoteTask._isInitialized
Declaration
[RenderIgnore]
IOnlineBool ITcoRemoteTask._isInitialized { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineBool |
|
|
Improve this Doc
View Source
ITcoRemoteTask._startSignature
Declaration
[RenderIgnore]
IOnlineString ITcoRemoteTask._startSignature { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineString |
|
Implements
Vortex.Connector.Identity.IVortexIdentity
System.Windows.Input.ICommand
System.ComponentModel.INotifyPropertyChanged
Vortex.Connector.IVortexObject
Vortex.Connector.ITwinObject
Vortex.Connector.IVortexElement
Vortex.Connector.IVortexOnlineObject
Vortex.Connector.IVortexShadowObject
See Also