AsyncDolls.YourDolls.TransportMessage.SetBody C# (CSharp) Method

SetBody() public method

public SetBody ( Stream body ) : void
body Stream
return void
        public void SetBody(Stream body)
        {
            if (this.body != null)
            {
                throw new InvalidOperationException("Body is already set.");
            }

            this.body = body;
        }
    }