src/ServiceBus/Models/BrokeredMessage.php
public function setProperty($propertyName, $propertyValue)
    {
        Validate::isString($propertyName, 'propertyName');
        Validate::notNull($propertyValue, 'propertyValue');

        $this->_customProperties[strtolower($propertyName)] = $propertyValue;
    }
public function setProperty($propertyName, $propertyValue)
    {
        Validate::isString($propertyName, 'propertyName');
        Validate::notNull($propertyValue, 'propertyValue');

        $this->_customProperties[strtolower($propertyName)] = $propertyValue;
    }
public function setProperty ( $ propertyName , $ propertyValue ) { Validate :: isString ( $ propertyName , 'propertyName' ) ; Validate :: notNull ( $ propertyValue , 'propertyValue' ) ; $ this -> _customProperties [ strtolower ( $ propertyName ) ] = $ propertyValue ; }
Sets the value of a custom property.

@param string $propertyName  The name of the property
@param mixed  $propertyValue The value of the property
Sets the value of a custom property .