This documentation is archived and is not being maintained.
RemoteArgument::CreateRemoteArgument Method (Object)
Visual Studio 2010
Creates a RemoteArgument for an argument that is not passed by reference.
Assembly: System.AddIn.Contract (in System.AddIn.Contract.dll)
Parameters
- value
- Type: System::Object
The argument that will be passed across process or application domain boundaries.
Return Value
Type: System.AddIn.Contract::RemoteArgumentA RemoteArgument that represents the specified argument.
| Exception | Condition |
|---|---|
| ArgumentNullException | value is nullptr. |
| ArgumentException | The TypeCode of value is TypeCode::Object and value is not an IContract. -or- The TypeCode of value is TypeCode::Empty and value is not set to Missing::Value. -or- value does not implement the IConvertible interface and value is not an Array. -or- value is an Array that contains elements with a TypeCode value of TypeCode::Object. |
This method calls the RemoteArgument constructor that applies to the type of the value parameter.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: