RemoteArgument Struktura

Definicja

Reprezentuje wystąpienie typu, które można przekazać przez granice procesu i domeny aplikacji.

public value class RemoteArgument
[System.Serializable]
public struct RemoteArgument
[<System.Serializable>]
type RemoteArgument = struct
Public Structure RemoteArgument
Dziedziczenie
RemoteArgument
Atrybuty

Uwagi

RemoteArgument Użyj struktury, aby przekazać argumenty typów, które nie są określane do czasu wykonywania w granicach procesów i domeny aplikacji. RemoteArgument Cel jest podobny do VARIANT tego typu w modelu COM.

Możesz użyć RemoteArgument polecenia , aby przekazać następujące typy i wartości jako argumenty zdalne:

  • Type.Missing.

  • IContract.

  • Wewnętrzne typy danych.

  • Tablice zawierające elementy typów danych wewnętrznych.

Wewnętrzny typ danych to typ danych pierwotnych (czyli Type.IsPrimitive właściwość typu to true) lub String, Decimal, DateTimelub DBNull.

RemoteArgument udostępnia konstruktory dla każdego z typów, które obsługuje. Można również użyć CreateRemoteArgument metod do tworzenia RemoteArgument obiektów. Metody CreateRemoteArgument automatycznie wywołają odpowiedni RemoteArgument konstruktor dla typu argumentu.

Jeśli tworzysz RemoteArgument przy użyciu domyślnego konstruktora bez parametrów, RemoteArgumentKind właściwość zostanie ustawiona na wartość RemoteArgumentKind.Missing , a TypeCode właściwość zostanie ustawiona na wartość TypeCode.Empty.

Konstruktory

RemoteArgument(Array)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje Array argument.

RemoteArgument(Array, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje Array argument, który może zostać przekazany przez odwołanie.

RemoteArgument(Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje Boolean argument.

RemoteArgument(Boolean, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, które reprezentuje Boolean argument, który może zostać przekazany przez odwołanie.

RemoteArgument(Byte)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje Byte argument.

RemoteArgument(Byte, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, które reprezentuje Byte argument, który może zostać przekazany przez odwołanie.

RemoteArgument(Char)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje Char argument.

RemoteArgument(Char, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, które reprezentuje Char argument, który może zostać przekazany przez odwołanie.

RemoteArgument(DateTime)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje DateTime argument.

RemoteArgument(DateTime, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, które reprezentuje DateTime argument, który może zostać przekazany przez odwołanie.

RemoteArgument(DBNull)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje DBNull argument.

RemoteArgument(DBNull, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, które reprezentuje DBNull argument, który może zostać przekazany przez odwołanie.

RemoteArgument(Decimal)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje Decimal argument.

RemoteArgument(Decimal, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, które reprezentuje Decimal argument, który może zostać przekazany przez odwołanie.

RemoteArgument(Double)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje Double argument.

RemoteArgument(Double, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, które reprezentuje Double argument, który może zostać przekazany przez odwołanie.

RemoteArgument(IContract)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje IContract argument.

RemoteArgument(IContract, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje IContract argument, który może zostać przekazany przez odwołanie.

RemoteArgument(Int16)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje Int16 argument.

RemoteArgument(Int16, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje Int16 argument, który może zostać przekazany przez odwołanie.

RemoteArgument(Int32)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje Int32 argument.

RemoteArgument(Int32, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje Int32 argument, który może zostać przekazany przez odwołanie.

RemoteArgument(Int64)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje Int64 argument.

RemoteArgument(Int64, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje Int64 argument, który może zostać przekazany przez odwołanie.

RemoteArgument(RemoteArgumentKind, TypeCode)

Inicjuje nowe wystąpienie RemoteArgument klasy przy użyciu określonego RemoteArgumentKind argumentu i TypeCode dla argumentu, który nie jest przekazywany przez odwołanie.

RemoteArgument(RemoteArgumentKind, TypeCode, Boolean)

Inicjuje nowe wystąpienie RemoteArgument klasy przy użyciu określonego RemoteArgumentKind argumentu i TypeCode dla argumentu, który może zostać przekazany przez odwołanie.

RemoteArgument(SByte)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje SByte argument.

RemoteArgument(SByte, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje SByte argument, który może zostać przekazany przez odwołanie.

RemoteArgument(Single)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje Single argument.

RemoteArgument(Single, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, które reprezentuje Single argument, który może zostać przekazany przez odwołanie.

RemoteArgument(String)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje String argument.

RemoteArgument(String, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, które reprezentuje String argument, który może zostać przekazany przez odwołanie.

RemoteArgument(UInt16)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje UInt16 argument.

RemoteArgument(UInt16, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, które reprezentuje UInt16 argument, który może zostać przekazany przez odwołanie.

RemoteArgument(UInt32)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje UInt32 argument.

RemoteArgument(UInt32, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, które reprezentuje UInt32 argument, który może zostać przekazany przez odwołanie.

RemoteArgument(UInt64)

Inicjuje RemoteArgument nowe wystąpienie klasy, która reprezentuje UInt64 argument.

RemoteArgument(UInt64, Boolean)

Inicjuje RemoteArgument nowe wystąpienie klasy, które reprezentuje UInt64 argument, który może zostać przekazany przez odwołanie.

Właściwości

ArrayValue

Pobiera lub ustawia Array wartość reprezentowaną przez element RemoteArgument .

BooleanValue

Pobiera lub ustawia Boolean wartość reprezentowaną przez element RemoteArgument .

ByteValue

Pobiera lub ustawia Byte wartość reprezentowaną przez element RemoteArgument .

CharValue

Pobiera lub ustawia Char wartość reprezentowaną przez element RemoteArgument .

ContractValue

Pobiera lub ustawia IContract wartość reprezentowaną przez element RemoteArgument .

DateTimeValue

Pobiera lub ustawia DateTime wartość reprezentowaną przez element RemoteArgument .

DBNullValue

Pobiera lub ustawia DBNull wartość reprezentowaną przez element RemoteArgument .

DecimalValue

Pobiera lub ustawia Decimal wartość reprezentowaną przez element RemoteArgument .

DoubleValue

Pobiera lub ustawia Double wartość reprezentowaną przez element RemoteArgument .

Int16Value

Pobiera lub ustawia Int16 wartość reprezentowaną przez element RemoteArgument .

Int32Value

Pobiera lub ustawia Int32 wartość reprezentowaną przez element RemoteArgument .

Int64Value

Pobiera lub ustawia Int64 wartość reprezentowaną przez element RemoteArgument .

IsByRef

Pobiera lub ustawia wartość, która wskazuje, czy RemoteArgument reprezentuje argument przekazywany przez odwołanie.

MissingValue

Missing Pobiera wartość.

RemoteArgumentKind

Pobiera element RemoteArgumentKind wskazujący rodzaj argumentu reprezentowanego przez RemoteArgument element .

SByteValue

Pobiera lub ustawia SByte wartość reprezentowaną przez element RemoteArgument .

SingleValue

Pobiera lub ustawia Single wartość reprezentowaną przez element RemoteArgument .

StringValue

Pobiera lub ustawia String wartość reprezentowaną przez element RemoteArgument .

TypeCode

Pobiera element TypeCode wskazujący podstawowy typ argumentu, który RemoteArgument reprezentuje.

UInt16Value

Pobiera lub ustawia UInt16 wartość reprezentowaną przez element RemoteArgument .

UInt32Value

Pobiera lub ustawia UInt32 wartość reprezentowaną przez element RemoteArgument .

UInt64Value

Pobiera lub ustawia UInt64 wartość reprezentowaną przez element RemoteArgument .

Metody

CreateRemoteArgument(Object)

RemoteArgument Tworzy dla argumentu, który nie jest przekazywany przez odwołanie.

CreateRemoteArgument(Object, Boolean)

RemoteArgument Tworzy dla argumentu, który może zostać przekazany przez odwołanie.

CreateRemoteArgument(Object, Boolean, TypeCode)

RemoteArgument Tworzy dla argumentu, który ma określony kod typu i który może być przekazywany przez odwołanie.

Dotyczy