RemoteArgument Structure

 

Represents an instance of a type that can be passed across process and application domain boundaries.

Namespace:   System.AddIn.Contract
Assembly:  System.AddIn.Contract (in System.AddIn.Contract.dll)

[SerializableAttribute]
public struct RemoteArgument

NameDescription
System_CAPS_pubmethodRemoteArgument(Array)

Initializes a new instance of the RemoteArgument class that represents an Array argument.

System_CAPS_pubmethodRemoteArgument(Array, Boolean)

Initializes a new instance of the RemoteArgument class that represents an Array argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(Boolean)

Initializes a new instance of the RemoteArgument class that represents a Boolean argument.

System_CAPS_pubmethodRemoteArgument(Boolean, Boolean)

Initializes a new instance of the RemoteArgument class that represents a Boolean argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(Byte)

Initializes a new instance of the RemoteArgument class that represents a Byte argument.

System_CAPS_pubmethodRemoteArgument(Byte, Boolean)

Initializes a new instance of the RemoteArgument class that represents a Byte argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(Char)

Initializes a new instance of the RemoteArgument class that represents a Char argument.

System_CAPS_pubmethodRemoteArgument(Char, Boolean)

Initializes a new instance of the RemoteArgument class that represents a Char argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(DateTime)

Initializes a new instance of the RemoteArgument class that represents a DateTime argument.

System_CAPS_pubmethodRemoteArgument(DateTime, Boolean)

Initializes a new instance of the RemoteArgument class that represents a DateTime argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(DBNull)

Initializes a new instance of the RemoteArgument class that represents a DBNull argument.

System_CAPS_pubmethodRemoteArgument(DBNull, Boolean)

Initializes a new instance of the RemoteArgument class that represents a DBNull argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(Decimal)

Initializes a new instance of the RemoteArgument class that represents a Decimal argument.

System_CAPS_pubmethodRemoteArgument(Decimal, Boolean)

Initializes a new instance of the RemoteArgument class that represents a Decimal argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(Double)

Initializes a new instance of the RemoteArgument class that represents a Double argument.

System_CAPS_pubmethodRemoteArgument(Double, Boolean)

Initializes a new instance of the RemoteArgument class that represents a Double argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(IContract)

Initializes a new instance of the RemoteArgument class that represents an IContract argument.

System_CAPS_pubmethodRemoteArgument(IContract, Boolean)

Initializes a new instance of the RemoteArgument class that represents an IContract argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(Int16)

Initializes a new instance of the RemoteArgument class that represents an Int16 argument.

System_CAPS_pubmethodRemoteArgument(Int16, Boolean)

Initializes a new instance of the RemoteArgument class that represents an Int16 argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(Int32)

Initializes a new instance of the RemoteArgument class that represents an Int32 argument.

System_CAPS_pubmethodRemoteArgument(Int32, Boolean)

Initializes a new instance of the RemoteArgument class that represents an Int32 argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(Int64)

Initializes a new instance of the RemoteArgument class that represents an Int64 argument.

System_CAPS_pubmethodRemoteArgument(Int64, Boolean)

Initializes a new instance of the RemoteArgument class that represents an Int64 argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(RemoteArgumentKind, TypeCode)

Initializes a new instance of the RemoteArgument class using the specified RemoteArgumentKind and TypeCode for an argument that is not passed by reference.

System_CAPS_pubmethodRemoteArgument(RemoteArgumentKind, TypeCode, Boolean)

Initializes a new instance of the RemoteArgument class using the specified RemoteArgumentKind and TypeCode for an argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(SByte)

Initializes a new instance of the RemoteArgument class that represents an SByte argument.

System_CAPS_pubmethodRemoteArgument(SByte, Boolean)

Initializes a new instance of the RemoteArgument class that represents an SByte argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(Single)

Initializes a new instance of the RemoteArgument class that represents a Single argument.

System_CAPS_pubmethodRemoteArgument(Single, Boolean)

Initializes a new instance of the RemoteArgument class that represents a Single argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(String)

Initializes a new instance of the RemoteArgument class that represents a String argument.

System_CAPS_pubmethodRemoteArgument(String, Boolean)

Initializes a new instance of the RemoteArgument class that represents a String argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(UInt16)

Initializes a new instance of the RemoteArgument class that represents a UInt16 argument.

System_CAPS_pubmethodRemoteArgument(UInt16, Boolean)

Initializes a new instance of the RemoteArgument class that represents a UInt16 argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(UInt32)

Initializes a new instance of the RemoteArgument class that represents a UInt32 argument.

System_CAPS_pubmethodRemoteArgument(UInt32, Boolean)

Initializes a new instance of the RemoteArgument class that represents a UInt32 argument that can be passed by reference.

System_CAPS_pubmethodRemoteArgument(UInt64)

Initializes a new instance of the RemoteArgument class that represents a UInt64 argument.

System_CAPS_pubmethodRemoteArgument(UInt64, Boolean)

Initializes a new instance of the RemoteArgument class that represents a UInt64 argument that can be passed by reference.

NameDescription
System_CAPS_pubpropertyArrayValue

Gets or sets the Array that the RemoteArgument represents.

System_CAPS_pubpropertyBooleanValue

Gets or sets the Boolean that the RemoteArgument represents.

System_CAPS_pubpropertyByteValue

Gets or sets the Byte that the RemoteArgument represents.

System_CAPS_pubpropertyCharValue

Gets or sets the Char that the RemoteArgument represents.

System_CAPS_pubpropertyContractValue

Gets or sets the IContract that the RemoteArgument represents.

System_CAPS_pubpropertyDateTimeValue

Gets or sets the DateTime that the RemoteArgument represents.

System_CAPS_pubpropertyDBNullValue

Gets or sets the DBNull that the RemoteArgument represents.

System_CAPS_pubpropertyDecimalValue

Gets or sets the Decimal that the RemoteArgument represents.

System_CAPS_pubpropertyDoubleValue

Gets or sets the Double that the RemoteArgument represents.

System_CAPS_pubpropertyInt16Value

Gets or sets the Int16 that the RemoteArgument represents.

System_CAPS_pubpropertyInt32Value

Gets or sets the Int32 that the RemoteArgument represents.

System_CAPS_pubpropertyInt64Value

Gets or sets the Int64 that the RemoteArgument represents.

System_CAPS_pubpropertyIsByRef

Gets or sets a value that indicates whether the RemoteArgument represents an argument that is passed by reference.

System_CAPS_pubpropertyMissingValue

Gets the Missing value.

System_CAPS_pubpropertyRemoteArgumentKind

Gets a RemoteArgumentKind that indicates the kind of argument that the RemoteArgument represents.

System_CAPS_pubpropertySByteValue

Gets or sets the SByte that the RemoteArgument represents.

System_CAPS_pubpropertySingleValue

Gets or sets the Single that the RemoteArgument represents.

System_CAPS_pubpropertyStringValue

Gets or sets the String that the RemoteArgument represents.

System_CAPS_pubpropertyTypeCode

Gets a TypeCode that indicates the base type of the argument that the RemoteArgument represents.

System_CAPS_pubpropertyUInt16Value

Gets or sets the UInt16 that the RemoteArgument represents.

System_CAPS_pubpropertyUInt32Value

Gets or sets the UInt32 that the RemoteArgument represents.

System_CAPS_pubpropertyUInt64Value

Gets or sets the UInt64 that the RemoteArgument represents.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateRemoteArgument(Object)

Creates a RemoteArgument for an argument that is not passed by reference.

System_CAPS_pubmethodSystem_CAPS_staticCreateRemoteArgument(Object, Boolean)

Creates a RemoteArgument for an argument that can be passed by reference.

System_CAPS_pubmethodSystem_CAPS_staticCreateRemoteArgument(Object, Boolean, TypeCode)

Creates a RemoteArgument for an argument that has the specified type code and that can be passed by reference.

System_CAPS_pubmethodEquals(Object)

Indicates whether this instance and a specified object are equal.(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Inherited from ValueType.)

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

Use the RemoteArgument structure to pass arguments of types that are not determined until run time across process and application domain boundaries. The purpose of RemoteArgument is similar to that of the VARIANT type in COM.

You can use RemoteArgument to pass the following types and values as remote arguments:

An intrinsic data type is a primitive data type (that is, the Type.IsPrimitive property of the type is true) or a String, Decimal, DateTime, or DBNull.

RemoteArgument provides constructors for each of the types that it supports. You can also use the CreateRemoteArgument methods to create RemoteArgument objects. The CreateRemoteArgument methods automatically call the appropriate RemoteArgument constructor for your argument type.

If you create a RemoteArgument using the default parameterless constructor, the RemoteArgumentKind property is set to the value RemoteArgumentKind.Missing and the TypeCode property is set to the value TypeCode.Empty.

.NET Framework
Available since 3.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: