Class ProcessWebService
Represents a process web service.
Implements
Inherited Members
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()
Namespace: Terrasoft.Core.Process
Assembly: Terrasoft.Core.dll
Syntax
public class ProcessWebService : ProcessActivity, IProcessDataSerializable, IHandler<ChangeProcessElementPerformerCommand>
Constructors
ProcessWebService(UserConnection)
Creates a new instance of the ProcessWebService type.
Declaration
public ProcessWebService(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | User connection. |
Properties
CancellationToken
Instance of the CancellationToken type used to cancel execution.
Declaration
public CancellationToken CancellationToken { get; }
Property Value
Type | Description |
---|---|
System.Threading.CancellationToken |
MethodName
Gets or sets the name of the web service method.
Declaration
public string MethodName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Schema
Declaration
public override Schema Schema { get; }
Property Value
Type | Description |
---|---|
Schema |
Overrides
ServiceSchemaUId
Gets or sets the web service schema unique identifier.
Declaration
public Guid ServiceSchemaUId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Timeout
Gets or sets service request timeout.
Declaration
public int Timeout { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
CancelExecuting(Object[])
Cancels executing the current process element.
Declaration
public override void CancelExecuting(params object[] parameters)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | parameters | Array of the parameter values. |
Overrides
InternalExecute(ProcessExecutingContext)
Provides main execution method of the web service user task.
Declaration
protected override bool InternalExecute(ProcessExecutingContext context)
Parameters
Type | Name | Description |
---|---|---|
ProcessExecutingContext | context | The execution context. |
Returns
Type | Description |
---|---|
System.Boolean |