RpcStructInstance Class

Struct Instance with RPC Methods

Inheritance Hierarchy

System.Object
  TwinCAT.Ads.TypeSystem.Instance
    TwinCAT.Ads.TypeSystem.Symbol
      StructInstance
        TwinCAT.Ads.TypeSystem.RpcStructInstance
Namespace:  TwinCAT.Ads.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.95+cf8c3f5

Syntax

C#

public sealed class RpcStructInstance : StructInstance, 
    IRpcStructInstance, IStructInstance, ISymbol, IAttributedInstance, IInstance, 
    IBitSize, IRpcCallableInstance

The RpcStructInstance type exposes the following members.

Properties

 

Name

Description

RpcStructInstance Class 1:

AccessRights

Gets the access rights. (Inherited from Symbol.)

RpcStructInstance Class 2:

Attributes

Gets the Type Attributes. (Inherited from Instance.)

RpcStructInstance Class 3:

BitSize

Gets the size of this Instance in bits. (Inherited from Instance.)

RpcStructInstance Class 4:

ByteSize

Gets the (aligned) size of of the Type/Instance in Bytes (Inherited from Instance.)

RpcStructInstance Class 5:

Category

Gets the the DataTypeCategory of the Instance. (Inherited from Instance.)

RpcStructInstance Class 6:

Comment

Gets the comment. (Inherited from Instance.)

RpcStructInstance Class 7:

Connection

Gets the connection that produces values for this IValueSymbol (Inherited from Symbol.)

RpcStructInstance Class 8:

ContextMask

Gets the context mask of this instance. (Inherited from Instance.)

RpcStructInstance Class 9:

DataType

Gets the IDataType of the IInstance. (Inherited from Instance.)

RpcStructInstance Class 10:

HasValue

Gets a value indicating whether this instance has a value. (Inherited from Instance.)

RpcStructInstance Class 11:

ImageBaseAddress

Gets the AmsAddress of the Process Image (Inherited from Symbol.)

RpcStructInstance Class 12:

IndexGroup

Gets the index group of the Symbol (Inherited from Symbol.)

RpcStructInstance Class 13:

IndexOffset

Gets the index offset of the Symbol (Inherited from Symbol.)

RpcStructInstance Class 14:

InstanceName

Gets the name of the instance (without periods (.) (Inherited from Instance.)

RpcStructInstance Class 15:

InstancePath

Gets the relative / absolute access path to the instance (with periods (.)) (Inherited from Symbol.)

RpcStructInstance Class 16:

IsBitType

Gets a value indicating whether this instance is not basing on a full DataType but instead of some sort of bit mapping (Inherited from Instance.)

RpcStructInstance Class 17:

IsByteAligned

Indicates that the Size of the Object is Byte aligned (BitSize % 8 == 0) (Inherited from Instance.)

RpcStructInstance Class 18:

IsDereferencedPointer

Gets or sets a value indicating whether an ancestor is a dereferenced Pointer (Inherited from Symbol.)

RpcStructInstance Class 19:

IsDereferencedReference

Gets or sets a value indicating whether an ancestor is a dereferenced Reference (Inherited from Symbol.)

RpcStructInstance Class 20:

IsPersistent

Indicates that this instance is persistent. (Inherited from Instance.)

RpcStructInstance Class 21:

IsPointer

Gets a value indicating whether this instance is reference. (Inherited from Instance.)

RpcStructInstance Class 22:

IsReadOnly

Indicates that this instance is read only. (Inherited from Instance.)

RpcStructInstance Class 23:

IsRecursive

Gets a value indicating whether this instance is recursive. (Inherited from Symbol.)

RpcStructInstance Class 24:

IsReference

Gets a value indicating whether this instance is reference. (Inherited from Instance.)

RpcStructInstance Class 25:

IsStatic

Gets a value indicating whether this IInstance is static. (Inherited from Instance.)

RpcStructInstance Class 26:

IsTcComInterfacePointer

Indicates that this instance is a TcComInterfacePointer. (Inherited from Instance.)

RpcStructInstance Class 27:

IsTypeGuid

Indicates that this instance has set TypeGuid flag. (Inherited from Instance.)

RpcStructInstance Class 28:

IsVirtual

Gets a value indicating whether this instance is virtual. (Inherited from Symbol.)

RpcStructInstance Class 29:

Namespace

Gets the namespace name. (Inherited from Instance.)

RpcStructInstance Class 30:

NotificationSettings

Gets or sets the notification settings. (Inherited from Symbol.)

RpcStructInstance Class 31:

Parent

Gets the parent Symbol (Inherited from Symbol.)

RpcStructInstance Class 32:

RpcMethods

Gets the Method descriptions for the IRpcCallableType

RpcStructInstance Class 33:

Size

Gets the size of the IDataType in bytes or Bits dependant on IsBitType (Inherited from Instance.)

RpcStructInstance Class 34:

SubSymbolCount

Gets the number of SubSymbols (Inherited from Symbol.)

RpcStructInstance Class 35:

SubSymbols

Gets the SubSymbols of the ISymbol (Inherited from Symbol.)

RpcStructInstance Class 36:

TypeName

Gets the name of the DataType that is used for this IInstance. (Inherited from Instance.)

RpcStructInstance Class 37:

ValueEncoding

Gets the value encoding. (Inherited from Symbol.)

Methods

 

Name

Description

RpcStructInstance Class 38:

Equals

Equals (Inherited from Symbol.)

RpcStructInstance Class 39:

GetHashCode

Gets the HashCode of the Address (Inherited from Symbol.)

RpcStructInstance Class 40:

GetType

Gets the Type of the current instance. (Inherited from Object.)

RpcStructInstance Class 41:

RpcStructInstance Class 42:

InvokeRpcMethod(String, .Object.)

Invokes the specified RPC Method

RpcStructInstance Class 43:

RpcStructInstance Class 44:

InvokeRpcMethod(String, .Object., .Object..)

Invokes the specified RPC Method

RpcStructInstance Class 45:

RpcStructInstance Class 46:

InvokeRpcMethod(String, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, .Object..)

Invokes the specified RPC Method

RpcStructInstance Class 47:

RpcStructInstance Class 48:

InvokeRpcMethodAsync(String, .Object., CancellationToken)

Invokes the specified RPC Method asynchronously

RpcStructInstance Class 49:

RpcStructInstance Class 50:

InvokeRpcMethodAsync(String, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, CancellationToken)

Invokes the specified RPC Method asynchronously

RpcStructInstance Class 51:

ReadAnyValue(Type)

Reads the value of this Value into a new created instance of the managed type (Inherited from Symbol.)

RpcStructInstance Class 52:

ReadAnyValue(Type, Int32)

Reads the value of this Value into a new created instance of the managed type (Inherited from Symbol.)

RpcStructInstance Class 53:

ReadAnyValueAsync

Reads the (AnyType) value asynchronously. (Inherited from Symbol.)

RpcStructInstance Class 54:

ReadRawValue.

Reads the raw value of the IValueSymbol (Ads Read / Write) (Inherited from Symbol.)

RpcStructInstance Class 55:

ReadRawValue(Int32)

Reads the raw value of the IValueSymbol (Ads Read / Write) (Inherited from Symbol.)

RpcStructInstance Class 56:

ReadRawValueAsync

Reads the raw value of the IValueSymbol (Ads Read / Write) asynchronously. (Inherited from Symbol.)

RpcStructInstance Class 57:

ReadValue.

Reads the Value of the IValueSymbol (Inherited from Symbol.)

RpcStructInstance Class 58:

ReadValue(Int32)

Reads the Value of the IValueSymbol (Inherited from Symbol.)

RpcStructInstance Class 59:

ReadValueAsync

Reads the Value of the IValueSymbol asynchronously. (Inherited from Symbol.)

RpcStructInstance Class 60:

SetParent

Sets the parent symbol. (Inherited from Symbol.)

RpcStructInstance Class 61:

ToString

Returns a String that represents this instance. (Inherited from Symbol.)

RpcStructInstance Class 62:

RpcStructInstance Class 63:

TryInvokeRpcMethod(String, .Object., Object.)

Invokes the specified RPC Method

RpcStructInstance Class 64:

RpcStructInstance Class 65:

TryInvokeRpcMethod(String, .Object., .Object.., Object.)

Invokes the specified RPC Method

RpcStructInstance Class 66:

RpcStructInstance Class 67:

TryInvokeRpcMethod(IRpcMethod, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, .Object.., Object.)

Invokes the the specified RpcMethod of the IRpcCallableInstance.

RpcStructInstance Class 68:

RpcStructInstance Class 69:

TryInvokeRpcMethod(String, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, .Object.., Object.)

Invokes the the specified RpcMethod of the IRpcCallableInstance.

RpcStructInstance Class 70:

TryReadValue

Reads the Value of the IValueSymbol (Inherited from Symbol.)

RpcStructInstance Class 71:

TryWriteValue

Writes the Value of the IValueSymbol (Inherited from Symbol.)

RpcStructInstance Class 72:

UpdateAnyValue(Object.)

Reads the value of this Value into the specified managed value. (Inherited from Symbol.)

RpcStructInstance Class 73:

UpdateAnyValue(Object., Int32)

Reads the value of this Value into the specified managed value. (Inherited from Symbol.)

RpcStructInstance Class 74:

WriteRawValue(.Byte.)

Writes the raw value of the IValueSymbol (Ads Read / Write) (Inherited from Symbol.)

RpcStructInstance Class 75:

WriteRawValue(.Byte., Int32)

Writes the raw value of the IValueSymbol (Ads Read / Write) (Inherited from Symbol.)

RpcStructInstance Class 76:

WriteRawValueAsync

Writes the raw value of the IValueSymbol (Ads Read / Write) (Inherited from Symbol.)

RpcStructInstance Class 77:

WriteValue(Object)

Writes the Value of the IValueSymbol (Inherited from Symbol.)

RpcStructInstance Class 78:

WriteValue(Object, Int32)

Writes the Value of the IValueSymbol (Inherited from Symbol.)

RpcStructInstance Class 79:

WriteValueAsync

Writes the Value of the IValueSymbol (Inherited from Symbol.)

Events

 

Name

Description

RpcStructInstance Class 80:

RawValueChanged

Occurs when the RawValue of the IValueSymbol has changed. (Inherited from Symbol.)

RpcStructInstance Class 81:

ValueChanged

Occurs when the (Primitive) value of the IValueSymbol has changed. (Inherited from Symbol.)

Reference

TwinCAT.Ads.TypeSystem Namespace