3.5.4.2 FieldSetter

FieldSetter sets the value of the specified Remote Field to the specified value. For more information about how this method is used for Remote Fields, see [MS-NRTP] sections 3.1.5.1.4 and 3.1.5.2.4.

 void FieldSetter(String typeName, String fieldName, 
 System.Object val);
  

typeName:  A string value that specifies the name of the Type containing the Remote Field. The Type MUST be the Type or base Type of the Server Object.

fieldName:  A string value that specifies the name of the Remote Field whose value is to be set. The Remote Field MUST be defined in the Type specified by the typeName field.

val:  The value of the field. An implementation MUST set the value of the Remote Field to the value of this argument.

Exceptions:  In addition to the Exceptions common to all Remote Methods in .NET Remoting (as specified in [MS-NRTP] section 3.2.5.1.7.2), if the Remote Field specified in the fieldName argument is not defined in the Type specified by the typeName argument, a RemotingException (as specified in [MS-NRTP] section 2.2.2.8) MUST be sent back.