示例#1
0
        public WinServiceCreateOptions Create()
        {
            var proto = new ProtoWinServiceCreateTask(new DotNetPath(), _serviceName);

            _protoServer.RegisterProtoTask(proto);
            return(proto);
        }
 public WinServiceCreateOptions Create()
 {
     var proto = new ProtoWinServiceCreateTask(new DotNetPath(), _serviceName, _errorOnFailure);
     _protoServer.RegisterProtoTask(proto);
     return proto;
 }