Headless.PostFileStreamEntry.PostFileStreamEntry C# (CSharp) 메소드

PostFileStreamEntry() 공개 메소드

Initializes a new instance of the PostFileStreamEntry class.
The fileName parameter should be the name of the file or the path to a file. The data stream is disposed when this instance is disposed.
/// The parameter is null. ///
public PostFileStreamEntry ( string name, string fileName, Stream data ) : System
name string /// The name. ///
fileName string /// The file name. ///
data Stream /// The data. ///
리턴 System
        public PostFileStreamEntry(string name, string fileName, Stream data)
            : base(name, fileName)
        {
            if (data == null)
            {
                throw new ArgumentNullException("data");
            }

            _data = data;
        }